diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2006-08-01 02:49:47 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2006-08-01 02:49:47 +0000 |
commit | c534076ccd2f07aaeb8e22e1c825f40bbefd9e82 (patch) | |
tree | 8632087f1e7a7b7039bb94d41d50136f682830bb /lisp/progmodes/gdb-ui.el | |
parent | 1730f68ee7b2b727176c418446ea408f13931686 (diff) | |
download | emacs-c534076ccd2f07aaeb8e22e1c825f40bbefd9e82.tar.gz |
(gdb-set-hollow): Check for gud-last-last-frame.
Diffstat (limited to 'lisp/progmodes/gdb-ui.el')
-rw-r--r-- | lisp/progmodes/gdb-ui.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index ce50c81e92d..595ec545eef 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el @@ -2049,9 +2049,10 @@ static char *magick[] = { (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 |