[PATCH v2 2/2] [gdb/symtab] Fix gdb.dwarf2/enum-type-c++.exp with cc-with-debug-types

Tom Tromey tom@tromey.com
Fri Sep 27 18:30:00 GMT 2024


>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:

Tom> There are two entries, which seems to be an inefficiency

Yeah, this seems bad.

Tom> Fix this by:
Tom> - adding a cooked index entry for DIE 0xcb (and consequently for child DIE
Tom>   0xd3), by marking it interesting,
Tom> - making sure that the entry for DIE 0xcb has a name, and
Tom> - using the entry for DIE 0xd3 as parent entry for DIE 0xdd.

Thank you.
Approved-By: Tom Tromey <tom@tromey.com>

Tom


More information about the Gdb-patches mailing list