[gdb/testsuite] Fix gdb.fortran/module.exp for debug info from other files
authorTom de Vries <tdevries@suse.de>
Thu, 17 Oct 2019 08:07:05 +0000 (10:07 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 17 Oct 2019 08:07:05 +0000 (10:07 +0200)
commit062f1fc13a075a34890988f3a396b5e58fc86396
tree401f5597e4f18f1530d57db352accc58806e0027
parenta315e14713de0a712382b3159507c16a0975a8d1
[gdb/testsuite] Fix gdb.fortran/module.exp for debug info from other files

On openSUSE Leap 15.1, I get:
...
FAIL: gdb.fortran/module.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 module.f90.

Fix this by extending the regexps.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2019-10-17  Tom de Vries  <tdevries@suse.de>

* gdb.fortran/module.exp: Allow info variables to print info for files
other than module.f90.

Change-Id: I401d8018b121fc7343f6bc8b671900349462457f
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.fortran/module.exp
This page took 0.02647 seconds and 4 git commands to generate.