From: shebs Date: Mon, 5 Dec 2011 23:32:52 +0000 (+0000) Subject: * gdb.trace/tfind.exp: Update help string matches. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=2807a43a38f019131281b94613a7563d5ef6f0ce;p=pf3gnuchains%2Fpf3gnuchains4x.git * gdb.trace/tfind.exp: Update help string matches. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 52f4b984f8..d9f1f83f67 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2011-12-05 Stan Shebs + + * gdb.trace/tfind.exp: Update help string matches. + 2011-12-05 Jan Kratochvil * gdb.server/ext-run.exp (get process list): Accept also systemd diff --git a/gdb/testsuite/gdb.trace/tfind.exp b/gdb/testsuite/gdb.trace/tfind.exp index 0d55b18d78..703825e7af 100644 --- a/gdb/testsuite/gdb.trace/tfind.exp +++ b/gdb/testsuite/gdb.trace/tfind.exp @@ -109,7 +109,7 @@ if { $return_me == 1 } then { gdb_test "tstatus" "\[Tt\]race is running.*" "test tstatus on" # 6.2 test help tstart -gdb_test "help tstart" "Start trace data collection." "6.2: help tstart" +gdb_test "help tstart" "Start trace data collection\.\[\r\n\]+Usage: tstart \\\[ \.\.\. \\\]\[\r\n\]+Any arguments supplied are recorded with the trace as a note and\[\r\n\]+reported by tstatus \\(if the target supports trace notes\\)\." "6.2: help tstart" gdb_test "break end" ".*" "" gdb_test "continue" \ @@ -140,7 +140,7 @@ if { $return_me == 1 } then { } # 7.2 test help tstop -gdb_test "help tstop" "Stop trace data collection." "7.2: help tstop" +gdb_test "help tstop" "Stop trace data collection\.\[\r\n\]+Usage: tstop \\\[ \.\.\. \\\]\[\r\n\]+Any arguments supplied are recorded with the trace as a stop reason and\[\r\n\]+reported by tstatus \\(if the target supports trace notes\\)\." "7.2: help tstop" # test tstatus (when trace off) gdb_test "tstatus" "Trace stopped by a tstop command.*" \