diff options
author | Tom de Vries <tdevries@suse.de> | 2020-10-28 10:01:32 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-10-28 10:01:32 +0100 |
commit | fdd67a422f898e5b0c80ccc1121af438328a9b1a (patch) | |
tree | b591b9f9e3e9098bed6a8f59eb312db78a6f1c5c /binutils/elfedit.c | |
parent | 706baf4c504053887add26bb8b7789ea28c64491 (diff) | |
download | gdb-fdd67a422f898e5b0c80ccc1121af438328a9b1a.zip gdb-fdd67a422f898e5b0c80ccc1121af438328a9b1a.tar.gz gdb-fdd67a422f898e5b0c80ccc1121af438328a9b1a.tar.bz2 |
[gdb/testsuite] Fix gdb.dwarf2/dw2-filename.exp with -readnow
When running test-case gdb.dwarf2/dw2-filename.exp with target board -readnow,
we run into:
...
FAIL: gdb.dwarf2/dw2-filename.exp: info sources
...
The normal output is:
...
(gdb) info sources^M
Source files for which symbols have been read in:^M
^M
Source files for which symbols will be read in on demand:^M
^M
src/gdb/testsuite/gdb.dwarf2/file1.txt^M
(gdb)
...
but with -readnow file1.txt appears in the "Source files for which symbols
have been read in" catagory instead, as expected.
Fix the FAIL by making the regexp match the -readnow output.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2020-10-28 Tom de Vries <tdevries@suse.de>
* gdb.dwarf2/dw2-filename.exp: Update regexp for -readnow.
Diffstat (limited to 'binutils/elfedit.c')
0 files changed, 0 insertions, 0 deletions