Commit c534076c authored by Nick Roberts's avatar Nick Roberts
Browse files

(gdb-set-hollow): Check for gud-last-last-frame.

parent 1730f68e
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment