diff options
author | Stan Shebs <shebs@apple.com> | 2010-04-01 22:57:07 +0000 |
---|---|---|
committer | Stan Shebs <shebs@apple.com> | 2010-04-01 22:57:07 +0000 |
commit | 9961a945ba4754e0b6f56d1bef23ed4d6009903b (patch) | |
tree | 6d0283d3bfd38c715e85003bbc0be73aba6f853b /gdb/tracepoint.h | |
parent | fcf9ef36ae5f01a5df4fc32b3d2a807f40909441 (diff) | |
download | gdb-9961a945ba4754e0b6f56d1bef23ed4d6009903b.tar.gz |
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.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gdb/tracepoint.h b/gdb/tracepoint.h index ba9ae810fe8..dd16dcf7902 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); |