aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/index-write.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2021-09-14 12:57:58 +0200
committerTom de Vries <tdevries@suse.de>2021-09-14 12:57:58 +0200
commit3859e65e23b0a00fa9b95f5735b9fb73f911f7ac (patch)
treee696030adb2808382eabd2e1979540fbd43c816b /gdb/dwarf2/index-write.c
parent09a7e912932db766d5e6badfcba61c55f185503a (diff)
downloadbinutils-3859e65e23b0a00fa9b95f5735b9fb73f911f7ac.zip
binutils-3859e65e23b0a00fa9b95f5735b9fb73f911f7ac.tar.gz
binutils-3859e65e23b0a00fa9b95f5735b9fb73f911f7ac.tar.bz2
[gdb/testsuite] Generate .debug_aranges in gdb.dwarf2/locexpr-data-member-location.exp
When running test-case gdb.dwarf2/locexpr-data-member-location.exp with target board cc-with-debug-names, all tests pass but we run into PR28261: ... (gdb) run ^M Starting program: locexpr-data-member-location ^M warning: Section .debug_names in locexpr-data-member-location-lib.so has \ abbreviation_table of size 1 vs. written as 37, ignoring .debug_names.^M ... Using a patch that fixes PR28261, the warning is gone, but we run into: ... FAIL: gdb.dwarf2/locexpr-data-member-location.exp: step into foo ... This is due a missing .debug_aranges contribution for the CU declared in gdb.dwarf2/locexpr-data-member-location.exp. Fix this by adding the missing .debug_aranges contribution. Tested on x86_64-linux.
Diffstat (limited to 'gdb/dwarf2/index-write.c')
0 files changed, 0 insertions, 0 deletions