From: Yao Qi Date: Sat, 29 Oct 2011 12:36:09 +0000 (+0000) Subject: gdb/ X-Git-Tag: sid-snapshot-20111101~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d31647d24bccd4921776e57ce25a7424074e03c7;p=thirdparty%2Fbinutils-gdb.git gdb/ * infcmd.c (disconnect_command): Call disconnect_tracing. --- 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 + + * infcmd.c (disconnect_command): Call disconnect_tracing. + 2011-10-29 Jan Kratochvil 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 ();