]> git.eshelyaron.com Git - emacs.git/commitdiff
(gdb-stopped): Even when there is no source
authorNick Roberts <nickrob@snap.net.nz>
Sun, 19 Mar 2006 23:15:40 +0000 (23:15 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Sun, 19 Mar 2006 23:15:40 +0000 (23:15 +0000)
annotation ensure gud-overlay-arrow-position is redisplayed.

lisp/progmodes/gdb-ui.el

index 689124944dd640b6f116ed9c3bc57aa29a845e0c..5afaf9c9a66e295bd4f1e79048cb878edb586394 100644 (file)
@@ -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))