diff options
author | Carl Love <cel@us.ibm.com> | 2021-07-20 17:40:47 -0500 |
---|---|---|
committer | Carl Love <cel@us.ibm.com> | 2021-08-03 12:06:02 -0500 |
commit | 39f6207e3ed2a461d7025c5f968a3e56e2d0402b (patch) | |
tree | 6d623a275489346c6e6c0306bca1a4abd79457bd /gdb/testsuite/gdb.mi | |
parent | 4d7188abfdf2c8303fdcad300cd7c06c4b4c30c0 (diff) | |
download | gdb-39f6207e3ed2a461d7025c5f968a3e56e2d0402b.zip gdb-39f6207e3ed2a461d7025c5f968a3e56e2d0402b.tar.gz gdb-39f6207e3ed2a461d7025c5f968a3e56e2d0402b.tar.bz2 |
Fixes for mi-fortran-modules.exp fixes
Output has additional information for a given filename.
gdb/testsuite/ChangeLog
* gdb.mi/mi-fortran-modules.exp (system_modules_pattern,
system_module_symbols_pattern): Add check for additional symbols
on the line
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-fortran-modules.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-fortran-modules.exp b/gdb/testsuite/gdb.mi/mi-fortran-modules.exp index 38aa36a..0606995 100644 --- a/gdb/testsuite/gdb.mi/mi-fortran-modules.exp +++ b/gdb/testsuite/gdb.mi/mi-fortran-modules.exp @@ -35,9 +35,9 @@ mi_runto_main # Patterns to skip optional system modules that appear with later versions of GFortran. set system_modules_pattern \ - "\{filename=\"\[^\"\]+/ieee/\[^/\]+\.F90\",fullname=\"\[^\"\]+\",symbols=\\\[(\[^\]\]+)\\\]\}," + "\{filename=\"\[^\"\]+/ieee/\[^/\]+\.F90\",fullname=\"\[^\"\]+\",symbols=\\\[(\[^\]\]+)\\\]\},.*" set system_module_symbols_pattern \ - "\{module=\"\[^\"\]*ieee\[^\"\]*\",files=\\\[\{filename=\"\[^\"\]+\",fullname=\"\[^\"\]+\",symbols=\\\[\[^\]\]+\\\]\}\\\]\}," + "\{module=\"\[^\"\]*ieee\[^\"\]*\",files=\\\[\{filename=\"\[^\"\]+\",fullname=\"\[^\"\]+\",symbols=\\\[\[^\]\]+\\\]\}\\\]\},.*" mi_gdb_test "101-symbol-info-modules" \ "101\\^done,symbols=\{debug=\\\[($system_modules_pattern)*\{filename=\"\[^\"\]+$srcfile2\",fullname=\"\[^\"\]+$srcfile2\",symbols=\\\[\{line=\"16\",name=\"mod1\"\},\{line=\"27\",name=\"mod2\"\}\\\]\},\{filename=\"\[^\"\]+$srcfile\",fullname=\"\[^\"\]+$srcfile\",symbols=\\\[\{line=\"16\",name=\"mod3\"\},\{line=\"32\",name=\"modmany\"\},\{line=\"41\",name=\"moduse\"\}\\\]\}\\\]\}" \ |