From cca5ad5c451a5ed03b2402ad8ecc3c60d1831c43 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Sun, 19 Mar 2006 23:15:40 +0000 Subject: [PATCH] (gdb-stopped): Even when there is no source annotation ensure gud-overlay-arrow-position is redisplayed. --- lisp/progmodes/gdb-ui.el | 2 ++ 1 file changed, 2 insertions(+) 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)) -- 2.39.2