diff options
author | Tom de Vries <tdevries@suse.de> | 2019-07-24 08:04:59 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2019-07-24 08:04:59 +0200 |
commit | c76ddaa3f4f8313976670ba8f15163a3544eb1af (patch) | |
tree | e5a63b7d290dd3e226a22683c80370f1a1d48b49 /gdb/python/py-objfile.c | |
parent | 407bcc63bda3d78bedffb49ddebf0b41294218d9 (diff) | |
download | gdb-c76ddaa3f4f8313976670ba8f15163a3544eb1af.zip gdb-c76ddaa3f4f8313976670ba8f15163a3544eb1af.tar.gz gdb-c76ddaa3f4f8313976670ba8f15163a3544eb1af.tar.bz2 |
[gdb/testsuite] Fix info-types.exp for debug info from more than one file
On openSUSE Leap 15.0, I get:
...
FAIL: gdb.base/info-types.exp: l=c: info types
FAIL: gdb.base/info-types.exp: l=c++: info types
...
because the info type command prints info for files info-types.c, stddef.h,
elf-init.c and init.c, while the regexp in the test-case expect only info for
info-types.c.
Fix this by extending the regexp.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2019-07-24 Tom de Vries <tdevries@suse.de>
* gdb.base/info-types.exp: Allow info types to print info for more than
one file.
Diffstat (limited to 'gdb/python/py-objfile.c')
0 files changed, 0 insertions, 0 deletions