[Dwarf-discuss] Re: DW_AT_program_entry_point

Jim Blandy jimb
Tue Feb 28 20:51:03 GMT 2006


On 2/28/06, Chris Quenelle <Chris.Quenelle at sun.com> wrote:
> Nobody is going to scan all the CU tags and look for special
> attributes.  That's what the index tables are for.
> Ideally this would be an attribute of the DIE that
> represents the main program, but we don't have a DIE for
> that and are unlikely to grow one in the near future unless
> the linker starts reading and writing dwarf.

I hadn't read this message when I sent my last reply.  Sorry about
that.  GDB does happen to scan all the CU tags, but it's considered a
design flaw, not a feature, that it doesn't make better use of Dwarf's
indexes.



More information about the Dwarf-discuss mailing list