This is the mail archive of the gdb-patches@sources.redhat.com 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: [rfa] classes, partial symtabs, and DW_AT_specification


On Wed, Jan 28, 2004 at 10:51:20AM -0800, David Carlton wrote:
> Yeah.  For the issue I ran into, it's probably not _too_ hard to
> solve: we could build up a die->parent table that only covered the
> dies that we would want to parse while reading the psymtabs - the spec
> die that I'm looking for should already be such a die.  But using this
> as an excuse to step back and think about how we want dwarf2 psymtabs
> to work in an ideal world would certainly be a good idea.

Hmm, that is an interesting idea.  It may be worthwhile.

> > With a little tuning, I think this is a solvable problem.  It will
> > probably take a speed hit, but smaller debug info will hopefully
> > make up for a lot of that.  And then, if someone implements
> > .debug_info_index, we can use that for psymtabs instead.
> 
> Do you have a reference for .debug_info_index?  I tried searching for
> it, but nothing turned up; I couldn't find an archive for the dwarf2
> mailing list.

There's no archive.  Someone, IIRC Jim, proposed it before I joined the
dwarf2 list; the basic concept is that it's exactly the same format as
.debug_info, but with less information.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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