[ was: Re: [committed][gdb/testsuite] Fix core file load FAIL in tls-core.exp ] On 12-03-2020 10:20, Andreas Schwab wrote: > 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. > Ack, fixed by this patch. Thanks, - Tom