From: Nick Roberts Date: Mon, 17 Apr 2006 19:50:14 +0000 (+0000) Subject: (gud-speedbar-item-info): Display frame address for root variables. X-Git-Tag: emacs-pretest-22.0.90~3111 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d19c35c1c98ebead51d004b389b60aa9d3ef9a89;p=emacs.git (gud-speedbar-item-info): Display frame address for root variables. --- diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 907a2e7c300..e1e2b9e28cd 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -374,8 +374,9 @@ t means that there is no stack, and we are in display-file mode.") (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."