Mercurial > emacs
changeset 69585:5df134d9ab7f
(gdb-stopped): Even when there is no source
annotation ensure gud-overlay-arrow-position is redisplayed.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Sun, 19 Mar 2006 23:15:40 +0000 |
parents | e8f1504847cb |
children | 1e6af832894b |
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 Mar 19 23:14:32 2006 +0000 +++ b/lisp/progmodes/gdb-ui.el Sun Mar 19 23:15:40 2006 +0000 @@ -1318,6 +1318,8 @@ 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))