Re: DWARF5 and .gdb_index/.debug_names

Tom Tromey <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
>>>>> "Mark" == Mark Wielaard <[email protected]> writes:

Mark> During the BoF Pedro mentioned that the GDB DWARF5 .debug_names support
Mark> is incomplete/wrong. I was wondering whether there was a good
Mark> description of the issue and/or a bug report for it.

It's been a while but last time I looked I thought gdb's process emitted
incorrect names.  I filed this bug, with analysis:

https://sourceware.org/bugzilla/show_bug.cgi?id=24820

gdb's reader probably also needs updating, since it relies on this same
incorrect reading of the standard.

Having gdb write the index is mildly bad anyway.  It should be in the
linker, and/or dwz or debuginfod.  Putting it in gdb back in the
.gdb_index days was a mistake.

Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.