This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1/4] RFC: refactor partial symbol tables


> From: Tom Tromey <tromey@redhat.com>
> Date: Fri, 15 Jan 2010 17:25:18 -0700
> 
> This patch does the bulk of the work.
> 
> I went through gdb and looked at all uses of partial symbol tables.  I
> moved all the psymtab code into a new file, and changed all the code in
> gdb to call via a new struct of function pointers.
> 
> Mostly this was straightforward.  The only surprise that I can remember
> was that Ada walks the psymtabs directly.
> 
> Now, symbol readers are allowed to include psympriv.h and access partial
> symbol tables.  However, generic code should not do this.  This ensures
> that partial symbol tables don't leak out into the main part of gdb.
> 
> The new "quick" function API is entirely ad hoc, based on existing gdb
> code.  I consolidated functions in a few places, but perhaps more could
> be done here.

Thanks.

Please look at the relevant sections of gdbint.texinfo and see if
something needs an update there, due to these changes.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]