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


On Fri, Jan 15, 2010 at 05:25:18PM -0700, Tom Tromey wrote:
> 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.

Overall, I very much like this series and think it should go in.

Have you considered the case of objfiles with multiple formats of
debug info?  This used to be a very common case, where the system
libraries had some stabs data and the user code had dwarf-2.  It's
probably still happening on various platforms.  So it seems like
we need to be able to query multiple symbol readers' qf functions,
potentially.


-- 
Daniel Jacobowitz
CodeSourcery


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