diff options
author | Tom de Vries <tdevries@suse.de> | 2019-08-28 19:13:29 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2019-08-28 19:13:29 +0200 |
commit | 48352473b1d2c213749a324f392cf8ec53d273a6 (patch) | |
tree | e853696cf40bf5f06d9d31fa70c82e8369b475c9 /bfd/elf-linux-core.h | |
parent | a78fca7b57c5444ac23110c6d0f80abd966f0e90 (diff) | |
download | gdb-48352473b1d2c213749a324f392cf8ec53d273a6.zip gdb-48352473b1d2c213749a324f392cf8ec53d273a6.tar.gz gdb-48352473b1d2c213749a324f392cf8ec53d273a6.tar.bz2 |
[gdb/testsuite] Fix info-var.exp for debug info from other files
On openSUSE Leap 15.1, I get:
...
FAIL: gdb.base/info-var.exp: info variables
FAIL: gdb.base/info-var.exp: info variables -n
...
because the info variables command prints info also for init.c:
...
File init.c:^M
24: const int _IO_stdin_used;^M
...
while the regexps in the test-case only expect info for info-var-f1.c and
info-var-f2.c.
Fix this by extending the regexps.
Tested on x86_64-linux, both openSUSE Leap 15.1 and Fedora 30.
gdb/testsuite/ChangeLog:
2019-08-28 Tom de Vries <tdevries@suse.de>
* gdb.base/info-var.exp: Allow info variables to print info for files
other than info-var-f1.c and info-var-f2.c.
Diffstat (limited to 'bfd/elf-linux-core.h')
0 files changed, 0 insertions, 0 deletions