make remote_protocol_features "const"
[deliverable/binutils-gdb.git] / gdb / event-top.c
index bd92ef1cd284d6fa198d4835c167483d4ca14c6b..f00ab7d84e10d0a943ba807704c81e9b24d94ec6 100644 (file)
@@ -36,6 +36,7 @@
 #include "continuations.h"
 #include "gdbcmd.h"            /* for dont_repeat() */
 #include "annotate.h"
+#include "maint.h"
 
 /* readline include files.  */
 #include "readline/readline.h"
@@ -268,6 +269,7 @@ display_gdb_prompt (char *new_prompt)
             rl_callback_handler_remove(), does the job.  */
 
          rl_callback_handler_remove ();
+         do_cleanups (old_chain);
          return;
        }
       else
This page took 0.024018 seconds and 4 git commands to generate.