Mercurial > emacs
changeset 70054:e6c80fdc0101
(gud-speedbar-item-info): Display frame address for root variables.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Mon, 17 Apr 2006 19:50:14 +0000 |
parents | 9099e9f6d57a |
children | a56d4dbf7c1e |
files | lisp/progmodes/gud.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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."