diff options
author | Yao Qi <yao@codesourcery.com> | 2013-03-06 00:59:55 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2013-03-06 00:59:55 +0000 |
commit | b8b71e6335ffb426296d7abfeb31afc77e8921c2 (patch) | |
tree | 5117685d75277c4c6f1ce9508f7e863ebf1aaf11 /gdb | |
parent | 5f3f50be8b52e39f75aba5e9e9357bb80609700b (diff) | |
download | gdb-b8b71e6335ffb426296d7abfeb31afc77e8921c2.zip gdb-b8b71e6335ffb426296d7abfeb31afc77e8921c2.tar.gz gdb-b8b71e6335ffb426296d7abfeb31afc77e8921c2.tar.bz2 |
gdb/testsuite/
* gdb.trace/tstatus.exp (run_trace_experiment): Escape
parentheses by "\\".
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.trace/tstatus.exp | 2 |
2 files changed, 6 insertions, 1 deletions
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 <yao@codesourcery.com> + + * gdb.trace/tstatus.exp (run_trace_experiment): Escape + parentheses by "\\". + 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com> * 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 $" { |