aboutsummaryrefslogtreecommitdiff
path: root/gdb/ctf.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ctf.c')
-rw-r--r--gdb/ctf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/ctf.c b/gdb/ctf.c
index 13df089..278f950 100644
--- a/gdb/ctf.c
+++ b/gdb/ctf.c
@@ -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.