[committed][gdb/testsuite] Fix core file load FAIL in tls-core.exp
Andreas Schwab
schwab@suse.de
Thu Mar 12 09:20:00 GMT 2020
On Mär 12 2020, Tom de Vries wrote:
> diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
> index 9e903ba347..bb70ef13f2 100644
> --- a/gdb/testsuite/lib/gdb.exp
> +++ b/gdb/testsuite/lib/gdb.exp
> @@ -4648,7 +4648,7 @@ proc gdb_core_cmd { core test } {
> fail "$test (bad file format)"
> return -1
> }
> - -re ": No such file or directory.*\r\n$gdb_prompt $" {
> + -re "$core: No such file or directory.*\r\n$gdb_prompt $" {
I think you need to regexp-quote the string.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Gdb-patches
mailing list