aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>2011-12-05 23:32:52 +0000
committerStan Shebs <shebs@codesourcery.com>2011-12-05 23:32:52 +0000
commitfe96589c7e07f756be8265d362ffe4fd9173a018 (patch)
tree584cbd3dff00f12f283dba79f9c9dd746934e5db
parentd7f50b6bd2ce837634e18920e4b5ef5145dcf265 (diff)
downloadbinutils-fe96589c7e07f756be8265d362ffe4fd9173a018.zip
binutils-fe96589c7e07f756be8265d362ffe4fd9173a018.tar.gz
binutils-fe96589c7e07f756be8265d362ffe4fd9173a018.tar.bz2
* gdb.trace/tfind.exp: Update help string matches.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.trace/tfind.exp4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 52f4b98..d9f1f83 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2011-12-05 Stan Shebs <stan@codesourcery.com>
+
+ * gdb.trace/tfind.exp: Update help string matches.
+
2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
* 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 0d55b18..703825e 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 \\\[ <notes> \.\.\. \\\]\[\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 \\\[ <notes> \.\.\. \\\]\[\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.*" \