From b8b71e6335ffb426296d7abfeb31afc77e8921c2 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Wed, 6 Mar 2013 00:59:55 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.trace/tstatus.exp (run_trace_experiment): Escape parentheses by "\\". --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.trace/tstatus.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 05386a5..3ac85e0 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 8a0bbdf..b929e6c 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 $" { -- 2.7.4