]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/tracectf.c
gdb: remove push_target free functions
[thirdparty/binutils-gdb.git] / gdb / tracectf.c
index 38c327dd1df0f9aa32b54b4b16dd36c510413dfb..4a245ee11a5affcf3ae26982eb1a2d20efef88b7 100644 (file)
@@ -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);