[gdb/testsuite] Add gdb.dwarf2/debug-names-bad-cu-index.exp
authorTom de Vries <tdevries@suse.de>
Tue, 6 Sep 2022 08:15:00 +0000 (10:15 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 6 Sep 2022 08:15:00 +0000 (10:15 +0200)
commita4fac33dc3ab42bd6a5f41c0ceca66e681a7de8b
tree6608389f6487260102584a6daa126c2097294e04
parent4c146f5d60fe91c5aa337331a68c435298daedbb
[gdb/testsuite] Add gdb.dwarf2/debug-names-bad-cu-index.exp

Add test-case gdb.dwarf2/debug-names-bad-cu-index.exp, a regression test for
commit 2fe9a3c41fa ("[gdb/symtab] Fix bad compile unit index complaint").

Tested on x86_64-linux.
gdb/testsuite/gdb.dwarf2/debug-names-bad-cu-index.exp [new file with mode: 0644]
gdb/testsuite/lib/dwarf.exp