From: Nick Roberts Date: Sun, 19 Mar 2006 23:15:40 +0000 (+0000) Subject: (gdb-stopped): Even when there is no source X-Git-Tag: emacs-pretest-22.0.90~3507 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cca5ad5c451a5ed03b2402ad8ecc3c60d1831c43;p=emacs.git (gdb-stopped): Even when there is no source annotation ensure gud-overlay-arrow-position is redisplayed. --- diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 689124944dd..5afaf9c9a66 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el @@ -1318,6 +1318,8 @@ directives." 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) + (unless (or gud-overlay-arrow-position gud-last-frame) + (gud-display-line (car gud-last-last-frame) (cdr gud-last-last-frame))) (unless (member gdb-inferior-status '("exited" "signal")) (setq gdb-inferior-status "stopped") (gdb-force-mode-line-update gdb-inferior-status))