gdb/
authorYao Qi <yao@codesourcery.com>
Fri, 7 Jun 2013 00:19:36 +0000 (00:19 +0000)
committerYao Qi <yao@codesourcery.com>
Fri, 7 Jun 2013 00:19:36 +0000 (00:19 +0000)
commitaef525cb15cdf95759c015cf237d6337407aa47a
treea2c9fc37b466e36720b24c3e3d786993ba4b89f2
parent21d6c799a732f0a8b78d701d9b055508664389f6
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.
gdb/ChangeLog
gdb/ctf.c
gdb/remote.c
gdb/tracepoint.c
gdb/tracepoint.h