gdb: Support DW_LLE_start_end
authorAndreas Schwab <schwab@suse.de>
Mon, 21 Jun 2021 09:38:23 +0000 (11:38 +0200)
committerAndreas Schwab <schwab@suse.de>
Tue, 22 Jun 2021 14:39:01 +0000 (16:39 +0200)
commit80d1206d7fea6eb756183e2825abdfd0f00cd976
tree08b044ad27f4205a4ca17d580ac2f3195e1918c1
parente5b771060e42232b6d70e9fce0e6907bc979ef21
gdb: Support DW_LLE_start_end

Without that it is impossible to debug on riscv64.

gdb/
PR symtab/27999
* dwarf2/loc.c (decode_debug_loclists_addresses): Support
DW_LLE_start_end.

gdb/testsuite/
PR symtab/27999
* lib/dwarf.exp (start_end): New proc inside loclists.
* gdb.dwarf2/loclists-start-end.exp: New file.
* gdb.dwarf2/loclists-start-end.c: New file.
gdb/ChangeLog
gdb/dwarf2/loc.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/loclists-start-end.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/loclists-start-end.exp [new file with mode: 0644]
gdb/testsuite/lib/dwarf.exp