aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/gdb-ui.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index 11a1edbbeca..bf4004fabd3 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -1013,6 +1013,7 @@ This filter may simply queue input for a later time."
1013 "An annotation handler for `pre-prompt'. 1013 "An annotation handler for `pre-prompt'.
1014This terminates the collection of output from a previous command if that 1014This terminates the collection of output from a previous command if that
1015happens to be in effect." 1015happens to be in effect."
1016 (setq gdb-error nil)
1016 (let ((sink gdb-output-sink)) 1017 (let ((sink gdb-output-sink))
1017 (cond 1018 (cond
1018 ((eq sink 'user) t) 1019 ((eq sink 'user) t)
@@ -1105,6 +1106,7 @@ directives."
1105It is just like `gdb-stopping', except that if we already set the output 1106It is just like `gdb-stopping', except that if we already set the output
1106sink to `user' in `gdb-stopping', that is fine." 1107sink to `user' in `gdb-stopping', that is fine."
1107 (setq gud-running nil) 1108 (setq gud-running nil)
1109 (setq gdb-active-process t)
1108 (let ((sink gdb-output-sink)) 1110 (let ((sink gdb-output-sink))
1109 (cond 1111 (cond
1110 ((eq sink 'inferior) 1112 ((eq sink 'inferior)