Mercurial > emacs
changeset 67164:c3990f178905
(gdb-stopped): Detect process when attaching.
(gdb-pre-prompt): Make sure gdb-error is reset.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Sun, 27 Nov 2005 22:16:02 +0000 |
parents | 3653ab7f7e3c |
children | 9ca7308880f8 |
files | lisp/progmodes/gdb-ui.el |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/gdb-ui.el Sun Nov 27 22:15:03 2005 +0000 +++ b/lisp/progmodes/gdb-ui.el Sun Nov 27 22:16:02 2005 +0000 @@ -1013,6 +1013,7 @@ "An annotation handler for `pre-prompt'. This terminates the collection of output from a previous command if that happens to be in effect." + (setq gdb-error nil) (let ((sink gdb-output-sink)) (cond ((eq sink 'user) t) @@ -1105,6 +1106,7 @@ It is just like `gdb-stopping', except that if we already set the output sink to `user' in `gdb-stopping', that is fine." (setq gud-running nil) + (setq gdb-active-process t) (let ((sink gdb-output-sink)) (cond ((eq sink 'inferior)