diff options
author | Pedro Alves <palves@redhat.com> | 2010-02-24 01:06:28 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-02-24 01:06:28 +0000 |
commit | 06cd862c015ff7285816de9e36290b5b1a7b090e (patch) | |
tree | d053a8ccb0bdadc5088e59e7728b7f4a2961b66f /gdb/tracepoint.h | |
parent | ab92d69b1e3a3db7bd4f9564ad3b5bbccc9a7988 (diff) | |
download | gdb-06cd862c015ff7285816de9e36290b5b1a7b090e.zip gdb-06cd862c015ff7285816de9e36290b5b1a7b090e.tar.gz gdb-06cd862c015ff7285816de9e36290b5b1a7b090e.tar.bz2 |
* 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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/tracepoint.h b/gdb/tracepoint.h index d26c950..819a67a 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 *); |