]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use DW_FORM_ref_addr for DIE offset in .debug_names
authorTom Tromey <tom@tromey.com>
Sat, 10 Feb 2024 00:40:35 +0000 (17:40 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 1 Mar 2024 00:12:58 +0000 (17:12 -0700)
commit932e5949a9f366d149b1b9093c49225502dee890
tree398e742bfbb6598df11c12786bc533b970c90795
parent3f13a7b28cb648eb374437271ca3d9bdb86a77dd
Use DW_FORM_ref_addr for DIE offset in .debug_names

Today I realized that while the .debug_names writer uses DW_FORM_udata
for the DIE offset, DW_FORM_ref_addr would be more appropriate here.
This patch makes this change.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31361
gdb/dwarf2/index-write.c
gdb/dwarf2/read-debug-names.c