diff options
| author | Karoly Lorentey | 2004-11-13 18:34:40 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-11-13 18:34:40 +0000 |
| commit | e417405015c93c81641f5c4a33ec898b5c353772 (patch) | |
| tree | 017a980c35c8a71c372304418d151e3826f88636 /lisp/progmodes/gdb-ui.el | |
| parent | f590a2a442d19f3a74d7bbd02bbcb4e3239f2327 (diff) | |
| parent | 68d1b30d251b4771f739d20f507cd9523ae3919b (diff) | |
| download | emacs-e417405015c93c81641f5c4a33ec898b5c353772.tar.gz emacs-e417405015c93c81641f5c4a33ec898b5c353772.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-673
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-674
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-675
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-676
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-677
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-678
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-679
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-680
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-681
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-682
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-683
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-684
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-685
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-686
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-687
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-688
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-689
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-690
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-691
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-692
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-693
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-69
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-70
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-71
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-267
Diffstat (limited to 'lisp/progmodes/gdb-ui.el')
| -rw-r--r-- | lisp/progmodes/gdb-ui.el | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 74368661d3e..cf2b0797e82 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el | |||
| @@ -60,6 +60,7 @@ | |||
| 60 | (defvar gdb-previous-address nil) | 60 | (defvar gdb-previous-address nil) |
| 61 | (defvar gdb-previous-frame nil) | 61 | (defvar gdb-previous-frame nil) |
| 62 | (defvar gdb-current-frame nil) | 62 | (defvar gdb-current-frame nil) |
| 63 | (defvar gdb-current-stack-level nil) | ||
| 63 | (defvar gdb-current-language nil) | 64 | (defvar gdb-current-language nil) |
| 64 | (defvar gdb-view-source t "Non-nil means that source code can be viewed.") | 65 | (defvar gdb-view-source t "Non-nil means that source code can be viewed.") |
| 65 | (defvar gdb-selected-view 'source "Code type that user wishes to view.") | 66 | (defvar gdb-selected-view 'source "Code type that user wishes to view.") |
| @@ -183,6 +184,7 @@ detailed description of this mode. | |||
| 183 | (setq gdb-previous-address nil) | 184 | (setq gdb-previous-address nil) |
| 184 | (setq gdb-previous-frame nil) | 185 | (setq gdb-previous-frame nil) |
| 185 | (setq gdb-current-frame nil) | 186 | (setq gdb-current-frame nil) |
| 187 | (setq gdb-current-stack-level nil) | ||
| 186 | (setq gdb-view-source t) | 188 | (setq gdb-view-source t) |
| 187 | (setq gdb-selected-view 'source) | 189 | (setq gdb-selected-view 'source) |
| 188 | (setq gdb-var-list nil) | 190 | (setq gdb-var-list nil) |
| @@ -393,7 +395,8 @@ detailed description of this mode. | |||
| 393 | "If non-nil highlight values that have recently changed in the speedbar. | 395 | "If non-nil highlight values that have recently changed in the speedbar. |
| 394 | The highlighting is done with `font-lock-warning-face'." | 396 | The highlighting is done with `font-lock-warning-face'." |
| 395 | :type 'boolean | 397 | :type 'boolean |
| 396 | :group 'gud) | 398 | :group 'gud |
| 399 | :version "21.4") | ||
| 397 | 400 | ||
| 398 | (defun gdb-speedbar-expand-node (text token indent) | 401 | (defun gdb-speedbar-expand-node (text token indent) |
| 399 | "Expand the node the user clicked on. | 402 | "Expand the node the user clicked on. |
| @@ -1291,9 +1294,8 @@ static char *magick[] = { | |||
| 1291 | '(mouse-face highlight | 1294 | '(mouse-face highlight |
| 1292 | help-echo "mouse-2, RET: Select frame")) | 1295 | help-echo "mouse-2, RET: Select frame")) |
| 1293 | (beginning-of-line) | 1296 | (beginning-of-line) |
| 1294 | (when (and (or (looking-at "^#[0-9]*\\s-*\\S-* in \\(\\S-*\\)") | 1297 | (when (and (looking-at "^#\\([0-9]+\\)") |
| 1295 | (looking-at "^#[0-9]*\\s-*\\(\\S-*\\)")) | 1298 | (equal (match-string 1) gdb-current-stack-level)) |
| 1296 | (equal (match-string 1) gdb-current-frame)) | ||
| 1297 | (put-text-property (point-at-bol) (point-at-eol) | 1299 | (put-text-property (point-at-bol) (point-at-eol) |
| 1298 | 'face '(:inverse-video t))) | 1300 | 'face '(:inverse-video t))) |
| 1299 | (forward-line 1)))))) | 1301 | (forward-line 1)))))) |
| @@ -2047,6 +2049,8 @@ BUFFER nil or omitted means use the current buffer." | |||
| 2047 | (delq 'gdb-get-current-frame gdb-pending-triggers)) | 2049 | (delq 'gdb-get-current-frame gdb-pending-triggers)) |
| 2048 | (with-current-buffer (gdb-get-create-buffer 'gdb-partial-output-buffer) | 2050 | (with-current-buffer (gdb-get-create-buffer 'gdb-partial-output-buffer) |
| 2049 | (goto-char (point-min)) | 2051 | (goto-char (point-min)) |
| 2052 | (if (looking-at "Stack level \\([0-9]+\\)") | ||
| 2053 | (setq gdb-current-stack-level (match-string 1))) | ||
| 2050 | (forward-line) | 2054 | (forward-line) |
| 2051 | (if (looking-at ".*=\\s-+0x\\(\\S-*\\)\\s-+in\\s-+\\(\\S-*?\\);? ") | 2055 | (if (looking-at ".*=\\s-+0x\\(\\S-*\\)\\s-+in\\s-+\\(\\S-*?\\);? ") |
| 2052 | (progn | 2056 | (progn |