diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d056485e5a7..9559355905d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-07-15 Andrew Burgess <andrew.burgess@embecosm.com> + + * gdb.fortran/ptype-on-functions.exp: Make the result pattern more + generic. + 2020-07-15 Tom de Vries <tdevries@suse.de> * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if diff --git a/gdb/testsuite/gdb.fortran/ptype-on-functions.exp b/gdb/testsuite/gdb.fortran/ptype-on-functions.exp index dde6f48b853..9d447530c26 100644 --- a/gdb/testsuite/gdb.fortran/ptype-on-functions.exp +++ b/gdb/testsuite/gdb.fortran/ptype-on-functions.exp @@ -45,7 +45,7 @@ gdb_test "ptype fun_ptr" \ "type = PTR TO -> \\( integer\\(kind=4\\) \\(\\) \\(REF TO -> \\( integer\\(kind=4\\) \\)\\) \\)" gdb_test "ptype say_string" \ - "type = void \\(character\\*\\(\\*\\), integer\\(kind=8\\)\\)" + "type = void \\(character\\*\\(\\*\\), integer\\(kind=\\d+\\)\\)" gdb_test "ptype say_array" \ "type = void \\(integer\\(kind=4\\) \\(:,:\\)\\)"