]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
gdb/testsuite: add .debug_loclists tests
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 2 Feb 2021 15:40:52 +0000 (10:40 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 2 Feb 2021 15:40:52 +0000 (10:40 -0500)
commitecfda20dcc4b658560cd4f0178f6c9cd569d4cad
tree65ca334e156261389eed81bfa10091abe45bf03e
parent6b0933da342b0508242560304d6b02c9fdd3696e
gdb/testsuite: add .debug_loclists tests

Add tests for the various issues fixed in the previous patches.

Add a new "loclists" procedure to the DWARF assembler, to allow
generating .debug_loclists sections.

gdb/testsuite/ChangeLog:

PR gdb/26813
* lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
(loclists): New proc.
* gdb.dwarf2/loclists-multiple-cus.c: New.
* gdb.dwarf2/loclists-multiple-cus.exp: New.
* gdb.dwarf2/loclists-sec-offset.c: New.
* gdb.dwarf2/loclists-sec-offset.exp: New.

Change-Id: I209bcb2a9482762ae943e518998d1f7761f76928
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/loclists-multiple-cus.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/loclists-multiple-cus.exp [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/loclists-sec-offset.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/loclists-sec-offset.exp [new file with mode: 0644]
gdb/testsuite/lib/dwarf.exp