aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.h
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/tracepoint.h
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/tracepoint.h')
-rw-r--r--gdb/tracepoint.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/gdb/tracepoint.h b/gdb/tracepoint.h
index ba9ae81..dd16dcf 100644
--- a/gdb/tracepoint.h
+++ b/gdb/tracepoint.h
@@ -23,14 +23,6 @@
#include "breakpoint.h"
#include "target.h"
-enum actionline_type
- {
- BADLINE = -1,
- GENERIC = 0,
- END = 1,
- STEPPING = 2
- };
-
/* A trace state variable is a value managed by a target being
traced. A trace state variable (or tsv for short) can be accessed
and assigned to by tracepoint actions and conditionals, but is not
@@ -176,7 +168,7 @@ void set_traceframe_number (int);
struct cleanup *make_cleanup_restore_current_traceframe (void);
void free_actions (struct breakpoint *);
-enum actionline_type validate_actionline (char **, struct breakpoint *);
+extern void validate_actionline (char **, struct breakpoint *);
extern void end_actions_pseudocommand (char *args, int from_tty);
extern void while_stepping_pseudocommand (char *args, int from_tty);