aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.h
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-06-07 00:19:36 +0000
committerYao Qi <yao@codesourcery.com>2013-06-07 00:19:36 +0000
commitaef525cb15cdf95759c015cf237d6337407aa47a (patch)
treea2c9fc37b466e36720b24c3e3d786993ba4b89f2 /gdb/tracepoint.h
parent21d6c799a732f0a8b78d701d9b055508664389f6 (diff)
downloadgdb-aef525cb15cdf95759c015cf237d6337407aa47a.zip
gdb-aef525cb15cdf95759c015cf237d6337407aa47a.tar.gz
gdb-aef525cb15cdf95759c015cf237d6337407aa47a.tar.bz2
gdb/
* tracepoint.c (start_tracing): Move code to ... (trace_reset_local_state): ... here. New. (disconnect_tracing): Don't call set_current_traceframe, set_tracepoint_num, and set_traceframe_context. Call trace_reset_local_state instead. (tfile_close): Call trace_reset_local_state. * ctf.c (ctf_close): Likewise. * remote.c (remote_close): Likewise. * tracepoint.h (trace_reset_local_state): Declare.
Diffstat (limited to 'gdb/tracepoint.h')
-rw-r--r--gdb/tracepoint.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/tracepoint.h b/gdb/tracepoint.h
index d7ebc16..3b09ca8 100644
--- a/gdb/tracepoint.h
+++ b/gdb/tracepoint.h
@@ -389,6 +389,7 @@ extern void merge_uploaded_trace_state_variables (struct uploaded_tsv **utsvp);
extern void query_if_trace_running (int from_tty);
extern void disconnect_tracing (void);
+extern void trace_reset_local_state (void);
extern void start_tracing (char *notes);
extern void stop_tracing (char *notes);