[gdb/testsuite] Fix gdb.fortran/info-types.exp regexp
authorTom de Vries <tdevries@suse.de>
Thu, 29 Aug 2019 12:43:11 +0000 (14:43 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 29 Aug 2019 12:43:11 +0000 (14:43 +0200)
commit8077c50dbb74ee63c038dbd3527c372dbe180fbb
tree2637adf79c6eeb9bb2315bf9116f57e41160f47a
parentc0d9f31dbd8765dd925e6a4b4acdb9b23d1706f6
[gdb/testsuite] Fix gdb.fortran/info-types.exp regexp

The gdb.fortran/info-types.exp test-case passes with gcc 7 (though not on
openSUSE, due to the extra debug info) and fails with gcc 4.8 and gcc 8.

Fix the gdb_test regexp to fix all those cases.

gdb/testsuite/ChangeLog:

2019-08-29  Tom de Vries  <tdevries@suse.de>

* gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
diverse debug info.
* lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.fortran/info-types.exp
gdb/testsuite/lib/fortran.exp