Re: [PATCH][gdb/testsuite] Fix PATH error in gdb_file_cmd

Pedro Alves
2020-06-04T11:43:51Z

On 6/4/20 11:24 AM, Tom de Vries wrote:
> @@ -1800,7 +1801,7 @@ proc gdb_file_cmd { arg } {
> return -1
> }
> -re "A problem internal to GDB has been detected" {
> - fail "($arg) (GDB internal error)"
> + fail "($basename) (GDB internal error)"
> gdb_internal_error_resync
> return -1
> }

The -re above has the exact same issue in the ERROR call.
I have no idea why this one is a fail while everywhere else
in the procedure perror is used. Seems inconsistent.

Thanks,
Pedro Alves