summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorqiyao <qiyao>2011-10-29 12:36:08 +0000
committerqiyao <qiyao>2011-10-29 12:36:08 +0000
commit6d1a972b2bd75706c9423177518316c9499869f9 (patch)
tree9785f291abfc1990ca9ef579a6e85c387c6c9ba4 /gdb
parent6ab8d799843282ad73a36aeff5852dfa78fe5357 (diff)
downloadgdb-6d1a972b2bd75706c9423177518316c9499869f9.tar.gz
gdb/
* infcmd.c (disconnect_command): Call disconnect_tracing.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/infcmd.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index eb4c77580ae..bdc9bf22e29 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 3e8bf5d1884..7b935feb613 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -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 ();