summaryrefslogtreecommitdiff
path: root/lisp/progmodes/gdb-ui.el
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2006-08-01 02:49:47 +0000
committerNick Roberts <nickrob@snap.net.nz>2006-08-01 02:49:47 +0000
commitc534076ccd2f07aaeb8e22e1c825f40bbefd9e82 (patch)
tree8632087f1e7a7b7039bb94d41d50136f682830bb /lisp/progmodes/gdb-ui.el
parent1730f68ee7b2b727176c418446ea408f13931686 (diff)
downloademacs-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.el7
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