# HG changeset patch # User Nick Roberts # Date 1154400587 0 # Node ID 6564e84a8e0964fbde8ab9a0040a39e5a5de5903 # Parent 2cf5a453e3c83c79fcf4967f6d6fa777cd716557 (gdb-set-hollow): Check for gud-last-last-frame. diff -r 2cf5a453e3c8 -r 6564e84a8e09 lisp/progmodes/gdb-ui.el --- 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