[gdb/testsuite] Fix gdb.dwarf2/debug-names.exp
authorTom de Vries <tdevries@suse.de>
Tue, 9 Aug 2022 13:12:05 +0000 (15:12 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 9 Aug 2022 13:12:05 +0000 (15:12 +0200)
commita8a882968a6cd3bfe64d789b6e914521c74498c2
tree37f674d50269b719266f01254f3e939dd3bf38a7
parent8cf61a33bba791c38e1b2f6cf2f276d052a1f17e
[gdb/testsuite] Fix gdb.dwarf2/debug-names.exp

When running test-case gdb.dwarf2/debug-names.exp on openSUSE Tumbleweed, I
run into:
...
(gdb) maint info symtabs^M
  ...
ERROR: internal buffer is full.
UNRESOLVED: gdb.dwarf2/debug-names.exp: break _start expanded symtab
...

Fix this by simplifying the test-case to print _start rather running to it.

Tested on x86_64-linux.
gdb/testsuite/gdb.dwarf2/debug-names.exp