OSDN Git Service

gdb/
authorqiyao <qiyao>
Sat, 29 Oct 2011 12:36:08 +0000 (12:36 +0000)
committerqiyao <qiyao>
Sat, 29 Oct 2011 12:36:08 +0000 (12:36 +0000)
* infcmd.c (disconnect_command): Call disconnect_tracing.

gdb/ChangeLog
gdb/infcmd.c

index eb4c775..bdc9bf2 100644 (file)
@@ -1,3 +1,7 @@
+2011-10-29  Yao Qi  <yao@codesourcery.com>
+
+       * infcmd.c (disconnect_command): Call disconnect_tracing.
+
 2011-10-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Code cleanup.
index 3e8bf5d..7b935fe 100644 (file)
@@ -2679,6 +2679,7 @@ static void
 disconnect_command (char *args, int from_tty)
 {
   dont_repeat ();              /* Not for the faint of heart.  */
+  disconnect_tracing (from_tty);
   target_disconnect (args, from_tty);
   no_shared_libraries (NULL, from_tty);
   init_thread_list ();