diff options
| author | Nick Roberts | 2008-04-22 06:25:15 +0000 |
|---|---|---|
| committer | Nick Roberts | 2008-04-22 06:25:15 +0000 |
| commit | 01a369030e39cc7af7fe38d69450a4233f9bd45e (patch) | |
| tree | 33ce10486336f3f77bbb1481cce63d87c800f1ac | |
| parent | 2baa22cf4680faa7c8366590ccc9eabb9c2c3e44 (diff) | |
| download | emacs-01a369030e39cc7af7fe38d69450a4233f9bd45e.tar.gz emacs-01a369030e39cc7af7fe38d69450a4233f9bd45e.zip | |
(gud-watch): Add "$" prefix when in registers buffer.
| -rw-r--r-- | lisp/progmodes/gdb-ui.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 9c1d2c9762e..9899d55eac3 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el | |||
| @@ -751,7 +751,8 @@ With arg, enter name of variable to be watched in the minibuffer." | |||
| 751 | 'gud-gdb-complete-command) | 751 | 'gud-gdb-complete-command) |
| 752 | (if (and transient-mark-mode mark-active) | 752 | (if (and transient-mark-mode mark-active) |
| 753 | (buffer-substring (region-beginning) (region-end)) | 753 | (buffer-substring (region-beginning) (region-end)) |
| 754 | (tooltip-identifier-from-point (point)))))) | 754 | (concat (if (eq major-mode 'gdb-registers-mode) "$") |
| 755 | (tooltip-identifier-from-point (point))))))) | ||
| 755 | (speedbar 1) | 756 | (speedbar 1) |
| 756 | (set-text-properties 0 (length expr) nil expr) | 757 | (set-text-properties 0 (length expr) nil expr) |
| 757 | (gdb-enqueue-input | 758 | (gdb-enqueue-input |