Mercurial > emacs
changeset 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 | 2cf5a453e3c8 |
children | 1d3db748db52 |
files | lisp/progmodes/gdb-ui.el |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
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