Mercurial > emacs
diff lisp/progmodes/gdb-ui.el @ 72224:6564e84a8e09
(gdb-set-hollow): Check for gud-last-last-frame.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Tue, 01 Aug 2006 02:49:47 +0000 |
parents | 46549662dfe0 |
children | 589dd2ca13b2 |
line wrap: on
line diff
--- a/lisp/progmodes/gdb-ui.el Tue Aug 01 02:49:11 2006 +0000 +++ b/lisp/progmodes/gdb-ui.el Tue Aug 01 02:49:47 2006 +0000 @@ -2049,9 +2049,10 @@ (setq gdb-look-up-stack nil)) (defun gdb-set-hollow () - (with-current-buffer (gud-find-file (car gud-last-last-frame)) - (setq fringe-indicator-alist - '((overlay-arrow . hollow-right-triangle))))) + (if gud-last-last-frame + (with-current-buffer (gud-find-file (car gud-last-last-frame)) + (setq fringe-indicator-alist + '((overlay-arrow . hollow-right-triangle)))))) (defun gdb-stack-buffer-name () (with-current-buffer gud-comint-buffer