[gdb/testsuite] Fix gdb_load_no_complaints with gnu-debuglink
authorTom de Vries <tdevries@suse.de>
Tue, 14 Sep 2021 12:52:38 +0000 (14:52 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 14 Sep 2021 12:52:38 +0000 (14:52 +0200)
commit58eaf4e9bdf53806778e94efe932e9417a21a306
treec0e90eb7dd9835e5f02f3b3a6fba08f87177b263
parent211aafd18d10b7739a16df5cc637952fd3f508e8
[gdb/testsuite] Fix gdb_load_no_complaints with gnu-debuglink

When running test-case gdb.dwarf2/dw2-ranges-psym-warning.exp with target
board gnu-debuglink I run into:
...
(gdb) file dw2-ranges-psym-warning^M
Reading symbols from dw2-ranges-psym-warning...^M
Reading symbols from .debug/dw2-ranges-psym-warning.debug...^M
(gdb) FAIL: gdb.dwarf2/dw2-ranges-psym-warning.exp: No complaints
...

Fix this by updating the regexp in gdb_load_no_complaints.

Tested on x86_64-linux.
gdb/testsuite/lib/gdb.exp