gdb/testsuite: escape '*' character in pattern used by flang
authorAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 2 Jun 2021 08:47:23 +0000 (09:47 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 2 Jun 2021 09:12:02 +0000 (10:12 +0100)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/fortran.exp

index 016bb722037193301722b51c83e6e1ab132230f3..3b7169638e7fc10fb6e7cbe9e0571dce165ad7b7 100644 (file)
@@ -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.
index 35db863e9c8ddcbeac2463d8555436ae47c7e9e3..f8c442fd09cc336026e267fa692f918f24dac9bd 100644 (file)
@@ -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 {