gdb/testsuite/

* gdb.trace/tstatus.exp (run_trace_experiment): Escape
	parentheses by "\\".
This commit is contained in:
Yao Qi 2013-03-06 00:59:55 +00:00
parent 5f3f50be8b
commit b8b71e6335
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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 $" {