mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-30 19:53:09 +00:00
Fix gdb-mi prompt after "attach PID" command
* lisp/progmodes/gdb-mi.el (gdbmi-bnf-console-stream-output): Set gdb-first-done-or-error non-nil. (Bug#29020) Copyright-paperwork-exempt: yes
This commit is contained in:
parent
ff33074546
commit
680e8e119b
@ -2188,7 +2188,10 @@ a GDB/MI reply message."
|
||||
|
||||
(defun gdbmi-bnf-console-stream-output (c-string)
|
||||
"Handler for the console-stream-output GDB/MI output grammar rule."
|
||||
(gdb-console c-string))
|
||||
(gdb-console c-string)
|
||||
;; We've written to the GUD console, so we should print the prompt
|
||||
;; after the next result-class or async-class.
|
||||
(setq gdb-first-done-or-error t))
|
||||
|
||||
(defun gdbmi-bnf-target-stream-output (_c-string)
|
||||
"Handler for the target-stream-output GDB/MI output grammar rule."
|
||||
|
Loading…
Reference in New Issue
Block a user