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.
This commit is contained in:
parent
21d6c799a7
commit
aef525cb15
5 changed files with 31 additions and 7 deletions
|
@ -1212,6 +1212,8 @@ ctf_close (void)
|
|||
ctf_destroy ();
|
||||
xfree (trace_dirname);
|
||||
trace_dirname = NULL;
|
||||
|
||||
trace_reset_local_state ();
|
||||
}
|
||||
|
||||
/* This is the implementation of target_ops method to_files_info.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue