Remove need_step_over from struct lwp_info
[deliverable/binutils-gdb.git] / gdb / cp-support.c
index a71c6ad722743d982bd07869e08176e07388dda9..5662f86249763aff3bbae1b7ba1fe83acdddb5c0 100644 (file)
@@ -34,7 +34,7 @@
 #include "cp-abi.h"
 #include "namespace.h"
 #include <signal.h>
-
+#include "gdb_setjmp.h"
 #include "safe-ctype.h"
 
 #define d_left(dc) (dc)->u.s_binary.left
@@ -1601,7 +1601,9 @@ gdb_demangle (const char *name, int options)
                                    "demangler-warning", short_msg);
              make_cleanup (xfree, long_msg);
 
-             target_terminal_ours ();
+             make_cleanup_restore_target_terminal ();
+             target_terminal_ours_for_output ();
+
              begin_line ();
              if (core_dump_allowed)
                fprintf_unfiltered (gdb_stderr,
This page took 0.024279 seconds and 4 git commands to generate.