diff options
author | Tom de Vries <tdevries@suse.de> | 2021-08-23 12:08:25 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-08-23 12:08:25 +0200 |
commit | d53f8a847228418346457254736dd5e7824bf504 (patch) | |
tree | 953d4287e1f0a5b87d3e0b0e7da26619c5c9e291 /gdb/exec.c | |
parent | a12ea97b9dab8eedf411fc5052ffaa8be29f5d36 (diff) | |
download | gdb-d53f8a847228418346457254736dd5e7824bf504.zip gdb-d53f8a847228418346457254736dd5e7824bf504.tar.gz gdb-d53f8a847228418346457254736dd5e7824bf504.tar.bz2 |
[gdb/testsuite] Fix dw2-ranges-psym.exp with -readnow
When running test-case gdb.dwarf2/dw2-ranges-psym.exp with target board
-readnow, I run into:
...
(gdb) file dw2-ranges-psym^M
Reading symbols from dw2-ranges-psym...^M
Expanding full symbols from dw2-ranges-psym...^M
(gdb) set complaints 0^M
(gdb) FAIL: gdb.dwarf2/dw2-ranges-psym.exp: No complaints
...
The problem is that the regexp expects a gdb prompt immediately after the
"Reading symbols" line.
Fix this by updating the regexp.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2021-08-22 Tom de Vries <tdevries@suse.de>
* lib/gdb.exp (gdb_load_no_complaints): Update regexp to allow
"Expanding full symbols" Line.
Diffstat (limited to 'gdb/exec.c')
0 files changed, 0 insertions, 0 deletions