This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [1/4] RFC: refactor partial symbol tables
- From: Daniel Jacobowitz <dan at codesourcery dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 26 Jan 2010 16:45:50 -0500
- Subject: Re: [1/4] RFC: refactor partial symbol tables
- References: <m34ommc2vl.fsf@fleche.redhat.com>
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