From: Yao Qi Date: Wed, 6 Mar 2013 00:59:55 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8b71e6335ffb426296d7abfeb31afc77e8921c2;p=binutils-gdb.git gdb/testsuite/ * gdb.trace/tstatus.exp (run_trace_experiment): Escape parentheses by "\\". --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 05386a5336f..3ac85e0f887 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-03-06 Yao Qi + + * gdb.trace/tstatus.exp (run_trace_experiment): Escape + parentheses by "\\". + 2013-03-04 Jan Kratochvil * gdb.linespec/base/one/thefile.cc (twodup): New. diff --git a/gdb/testsuite/gdb.trace/tstatus.exp b/gdb/testsuite/gdb.trace/tstatus.exp index 8a0bbdfedac..b929e6c8f75 100644 --- a/gdb/testsuite/gdb.trace/tstatus.exp +++ b/gdb/testsuite/gdb.trace/tstatus.exp @@ -107,7 +107,7 @@ proc run_trace_experiment {} { gdb_test_no_output "tstop because I can" "trace stopped with note" gdb_test_multiple "tstatus" "check on trace status after stop" { - -re "Trace stopped by a tstop command (because I can)\..*Trace will stop if GDB disconnects\.\[\r\n\]+Trace user is me me me\.\[\r\n\]+Trace notes: different note\.\[\r\n\]+Not looking at any trace frame\..*\r\n$gdb_prompt $" { + -re "Trace stopped by a tstop command \\(because I can\\)\..*Trace will stop if GDB disconnects\.\[\r\n\]+Trace user is me me me\.\[\r\n\]+Trace notes: different note\.\[\r\n\]+Not looking at any trace frame\..*\r\n$gdb_prompt $" { pass "tstatus reports trace stop reason" } -re "Trace stopped by a tstop command\..*\r\n$gdb_prompt $" {