summaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2021-03-17 18:07:32 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2021-03-22 10:00:19 +0000
commit1e7fcccb8d6d0a6bd295a50400c553cc595250f1 (patch)
treeb4a2d6cc035441ab202427c8d71ab309d465ca68 /bfd/coffcode.h
parentd171632faa9f563f47224e0f6214f8860ed7bcc4 (diff)
downloadbinutils-gdb-1e7fcccb8d6d0a6bd295a50400c553cc595250f1.tar.gz
gdb/testsuite: use the correct .debug_str section name for DW_FORM_strp
When handling DWARF attributes of the form DW_FORM_strp the strings should be placed in the .debug_str section, not .debug_string as they currently are by the DWARF assembler (in lib/dwarf.exp). I've added a test. This is as much to test the DWARF generator as it is to test GDB as GCC makes frequent use of DW_FORM_strp so we can be pretty sure this part of GDB is already well tested. gdb/testsuite/ChangeLog: * gdb.dwarf2/dw2-using-debug-str.c: New file. * gdb.dwarf2/dw2-using-debug-str.exp: New file. * lib/dwarf.exp (Dwarf::DW_FORM_strp): Create .debug_str section, not .debug_string.
Diffstat (limited to 'bfd/coffcode.h')
0 files changed, 0 insertions, 0 deletions