aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>2010-04-01 22:57:25 +0000
committerStan Shebs <shebs@codesourcery.com>2010-04-01 22:57:25 +0000
commitfff87407d4ea0de87abbb3d0a5383acb6b07e6f1 (patch)
tree644f655cfee3b16d1aeeaabca817f8d9aa3e54ab /gdb/testsuite/gdb.trace
parent615bcdefbf764206a8e234ba81181c2ccc6c2484 (diff)
downloadfsf-binutils-gdb-fff87407d4ea0de87abbb3d0a5383acb6b07e6f1.zip
fsf-binutils-gdb-fff87407d4ea0de87abbb3d0a5383acb6b07e6f1.tar.gz
fsf-binutils-gdb-fff87407d4ea0de87abbb3d0a5383acb6b07e6f1.tar.bz2
2010-04-01 Stan Shebs <stan@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com> * tracepoint.h (enum actionline_type): Remove. (validate_actionline): Change return to void. * tracepoint.c (report_agent_reqs_errors): New function. (validate_actionline): Call it, change return to void, report errors more consistently. (collect_symbol): Call report_agent_reqs_errors. (encode_actions_1): Ditto. (encode_actions): Don't expect a result from validate_actionline. * gdb.trace/actions.exp: Tweak expected output. * gdb.trace/while-stepping.exp: Tweak expected output.
Diffstat (limited to 'gdb/testsuite/gdb.trace')
-rw-r--r--gdb/testsuite/gdb.trace/actions.exp2
-rw-r--r--gdb/testsuite/gdb.trace/while-stepping.exp2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.trace/actions.exp b/gdb/testsuite/gdb.trace/actions.exp
index 4bdf3e4..b6747f0 100644
--- a/gdb/testsuite/gdb.trace/actions.exp
+++ b/gdb/testsuite/gdb.trace/actions.exp
@@ -175,7 +175,7 @@ gdb_test "actions [expr $trcpt2 + $trcpt3]" \
gdb_trace_setactions "5.7: invalid action" \
"$trcpt1" \
"print gdb_c_test" \
- "'print gdb_c_test' is not a supported tracepoint action"
+ "`print gdb_c_test' is not a supported tracepoint action"
# 5.8 help actions (collect, while-stepping, end)
diff --git a/gdb/testsuite/gdb.trace/while-stepping.exp b/gdb/testsuite/gdb.trace/while-stepping.exp
index 228f66a..db0f91f 100644
--- a/gdb/testsuite/gdb.trace/while-stepping.exp
+++ b/gdb/testsuite/gdb.trace/while-stepping.exp
@@ -82,7 +82,7 @@ proc while_stepping_bogus_arg { bogus msgstring } {
gdb_trace_setactions "$msgstring" \
"" \
- "while-stepping $bogus" ".*bad step-count"
+ "while-stepping $bogus" ".*while-stepping step count"
}
# 5.14 while-stepping (no argument)