diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-06-02 09:47:23 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-06-02 10:12:02 +0100 |
commit | 8a222a6b0ffd3b70b511fb067557b9a57a958315 (patch) | |
tree | b3259541031a989b8ad411ed634bfd03c4384916 | |
parent | 45342c7c91f4c0a737405468ce2999825cb11c9a (diff) | |
download | binutils-8a222a6b0ffd3b70b511fb067557b9a57a958315.zip binutils-8a222a6b0ffd3b70b511fb067557b9a57a958315.tar.gz binutils-8a222a6b0ffd3b70b511fb067557b9a57a958315.tar.bz2 |
gdb/testsuite: escape '*' character in pattern used by flang
One of the integer type patterns used by flang included a '*'
character which was not escaped.
gdb/testsuite/ChangeLog:
* lib/fortran.exp (fortran_int8): Escape '*' in pattern.
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/lib/fortran.exp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 016bb72..3b71696 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2021-06-02 Andrew Burgess <andrew.burgess@embecosm.com> + + * lib/fortran.exp (fortran_int8): Escape '*' in pattern. + 2021-06-01 Tom Tromey <tromey@adacore.com> * Makefile.in (all): Don't print anything. diff --git a/gdb/testsuite/lib/fortran.exp b/gdb/testsuite/lib/fortran.exp index 35db863..f8c442f 100644 --- a/gdb/testsuite/lib/fortran.exp +++ b/gdb/testsuite/lib/fortran.exp @@ -49,7 +49,7 @@ proc fortran_int8 {} { } elseif {[test_compiler_info {gcc-*}]} { return "integer\\(kind=8\\)" } elseif {[test_compiler_info {clang-*}]} { - return "integer*8" + return "integer\\*8" } elseif {[test_compiler_info {icc-*}]} { return "INTEGER\\(8\\)" } else { |