aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracectf.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tracectf.c')
-rw-r--r--gdb/tracectf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tracectf.c b/gdb/tracectf.c
index 38c327d..4a245ee 100644
--- a/gdb/tracectf.c
+++ b/gdb/tracectf.c
@@ -1165,7 +1165,7 @@ ctf_target_open (const char *dirname, int from_tty)
gdb_assert (start_pos->type == BT_SEEK_RESTORE);
trace_dirname = xstrdup (dirname);
- push_target (&ctf_ops);
+ current_inferior ()->push_target (&ctf_ops);
inferior_appeared (current_inferior (), CTF_PID);