aboutsummaryrefslogtreecommitdiff
path: root/gnulib/import/fcntl.in.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2025-02-13 17:47:23 -0700
committerTom Tromey <tom@tromey.com>2025-03-03 21:04:07 -0700
commitef8975b494c8c9bca73cda76c33244bb5fd1677f (patch)
treebc5e9d5f4041500cccf856bc3b62625b537b0499 /gnulib/import/fcntl.in.h
parente578bccf57381f89a65a9cf733574e7f122e28aa (diff)
downloadgdb-master.zip
gdb-master.tar.gz
gdb-master.tar.bz2
Display entry offset for .debug_namesHEADmaster
Since commit ad6dde5aaae ("gdb/dwarf: write offset to parent entry for DW_IDX_parent"), gdb now emits a .debug_names where the DW_IDX_parent attribute refers to the parent entry's offset -- previously, due to some confusion in the standard, gdb used the index of the parent's name table entry. This patch changes the .debug_names display code to display each entry's offset. This makes it easy to refer from a DW_IDX_parent to the correct entry. The new output looks like this: [...] Symbol table: [ 1] circular1: <0><1> DW_TAG_module DW_IDX_compile_unit=1 DW_IDX_die_offset=<0x19> DW_IDX_GNU_language=19 [...] [ 6] found: <0x28><2> DW_TAG_subprogram DW_IDX_compile_unit=1 DW_IDX_die_offset=<0x38> DW_IDX_GNU_language=19 DW_IDX_parent=<0x0> Here you can see that DW_IDX_parent=0 refers to "circular1: <0>".
Diffstat (limited to 'gnulib/import/fcntl.in.h')
0 files changed, 0 insertions, 0 deletions