aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Roberts2006-08-01 02:49:47 +0000
committerNick Roberts2006-08-01 02:49:47 +0000
commitc534076ccd2f07aaeb8e22e1c825f40bbefd9e82 (patch)
tree8632087f1e7a7b7039bb94d41d50136f682830bb
parent1730f68ee7b2b727176c418446ea408f13931686 (diff)
downloademacs-c534076ccd2f07aaeb8e22e1c825f40bbefd9e82.tar.gz
emacs-c534076ccd2f07aaeb8e22e1c825f40bbefd9e82.zip
(gdb-set-hollow): Check for gud-last-last-frame.
-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[] = {
2049 (setq gdb-look-up-stack nil)) 2049 (setq gdb-look-up-stack nil))
2050 2050
2051(defun gdb-set-hollow () 2051(defun gdb-set-hollow ()
2052 (with-current-buffer (gud-find-file (car gud-last-last-frame)) 2052 (if gud-last-last-frame
2053 (setq fringe-indicator-alist 2053 (with-current-buffer (gud-find-file (car gud-last-last-frame))
2054 '((overlay-arrow . hollow-right-triangle))))) 2054 (setq fringe-indicator-alist
2055 '((overlay-arrow . hollow-right-triangle))))))
2055 2056
2056(defun gdb-stack-buffer-name () 2057(defun gdb-stack-buffer-name ()
2057 (with-current-buffer gud-comint-buffer 2058 (with-current-buffer gud-comint-buffer