From fff87407d4ea0de87abbb3d0a5383acb6b07e6f1 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Thu, 1 Apr 2010 22:57:25 +0000 Subject: 2010-04-01 Stan Shebs Nathan Sidwell * 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. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.trace/actions.exp | 2 +- gdb/testsuite/gdb.trace/while-stepping.exp | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'gdb/testsuite') diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index c16e672..6d78448 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-04-01 Stan Shebs + + * gdb.trace/actions.exp: Tweak expected output. + * gdb.trace/while-stepping.exp: Tweak expected output. + 2010-04-01 H.J. Lu * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh". 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) -- cgit v1.1