# HG changeset patch # User Nick Roberts # Date 1145303414 0 # Node ID e6c80fdc0101a1dff15326be97b359e7b6b593d2 # Parent 9099e9f6d57a4c5e812724e97bfa05de7ade7dcc (gud-speedbar-item-info): Display frame address for root variables. diff -r 9099e9f6d57a -r e6c80fdc0101 lisp/progmodes/gud.el --- a/lisp/progmodes/gud.el Mon Apr 17 19:48:50 2006 +0000 +++ b/lisp/progmodes/gud.el Mon Apr 17 19:50:14 2006 +0000 @@ -374,8 +374,9 @@ (defun gud-speedbar-item-info () "Display the data type of the watch expression element." (let ((var (nth (- (line-number-at-pos (point)) 2) gdb-var-list))) - (if (nth 4 var) - (speedbar-message "%s" (nth 3 var))))) + (if (nth 6 var) + (speedbar-message "%s: %s" (nth 6 var) (nth 3 var)) + (speedbar-message "%s" (nth 3 var))))) (defun gud-install-speedbar-variables () "Install those variables used by speedbar to enhance gud/gdb."