summaryrefslogtreecommitdiff
path: root/gdb/tracepoint.h
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2010-02-24 01:06:27 +0000
committerPedro Alves <pedro@codesourcery.com>2010-02-24 01:06:27 +0000
commit8bf6105071ab1aa991a0761581fae80457f1a33d (patch)
tree09052c5e6248025ba6631407ed5d3ce9adf9f169 /gdb/tracepoint.h
parentf68240a5e33eced3032b0bfca5c00be8944fd275 (diff)
downloadgdb-8bf6105071ab1aa991a0761581fae80457f1a33d.tar.gz
* tracepoint.h (set_traceframe_number)
(cleanup_restore_current_traceframe): Declare. * tracepoint.c (set_traceframe_number): New. (struct current_traceframe_cleanup): New. (do_restore_current_traceframe_cleanup) (restore_current_traceframe_cleanup_dtor) (make_cleanup_restore_current_traceframe): New. * infrun.c: Include tracepoint.h. (fetch_inferior_event): Switch out and in of tfind mode.
Diffstat (limited to 'gdb/tracepoint.h')
-rw-r--r--gdb/tracepoint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/tracepoint.h b/gdb/tracepoint.h
index d26c9505089..819a67a2fd9 100644
--- a/gdb/tracepoint.h
+++ b/gdb/tracepoint.h
@@ -140,6 +140,9 @@ extern void (*deprecated_trace_find_hook) (char *arg, int from_tty);
extern void (*deprecated_trace_start_stop_hook) (int start, int from_tty);
int get_traceframe_number (void);
+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 *);