]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/infcmd.c
2010-04-08 Stan Shebs <stan@codesourcery.com>
[thirdparty/binutils-gdb.git] / gdb / infcmd.c
index a803bcbbb4570721d3049e6de3278ba5bff4b61b..16d32a661b0ea1b096e240866978e8e04e948a7a 100644 (file)
@@ -2547,7 +2547,7 @@ detach_command (char *args, int from_tty)
   if (ptid_equal (inferior_ptid, null_ptid))
     error (_("The program is not being run."));
 
-  disconnect_or_stop_tracing (from_tty);
+  disconnect_tracing (from_tty);
 
   target_detach (args, from_tty);