]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/tracefile-tfile.c
gdb: remove push_target free functions
[thirdparty/binutils-gdb.git] / gdb / tracefile-tfile.c
index ea703643d8f1b81223ba37110fdee9e0a3ebf1cd..d82cac8d9ddd04fdb3b20d2f5904c21944fbc7df 100644 (file)
@@ -498,7 +498,7 @@ tfile_target_open (const char *arg, int from_tty)
        && (startswith (header + 1, "TRACE0\n"))))
     error (_("File is not a valid trace file."));
 
-  push_target (&tfile_ops);
+  current_inferior ()->push_target (&tfile_ops);
 
   trace_regblock_size = 0;
   ts = current_trace_status ();