diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 21cfc17294..ab9443eceb 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-06-04 Tom de Vries + + * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail. + 2020-06-03 Tom de Vries PR symtab/26046 diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 444cea01c3..63a9e3da53 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -1800,7 +1800,7 @@ proc gdb_file_cmd { arg } { return -1 } -re "A problem internal to GDB has been detected" { - fail "($arg) (GDB internal error)" + perror "Couldn't load $arg into $GDB (GDB internal error)." gdb_internal_error_resync return -1 }