diff options
| author | Nick Roberts | 2006-05-04 05:16:46 +0000 |
|---|---|---|
| committer | Nick Roberts | 2006-05-04 05:16:46 +0000 |
| commit | 6f095055992caafb394c64130a1322bf4c1c67f5 (patch) | |
| tree | 0f347fd60753c0df5d331d5d2174a5332af87187 | |
| parent | 6dea78a81bd824cdea6ee53216d8be2227e09845 (diff) | |
| download | emacs-6f095055992caafb394c64130a1322bf4c1c67f5.tar.gz emacs-6f095055992caafb394c64130a1322bf4c1c67f5.zip | |
(gdb-force-update): Delete variable...
(gdb-init-1, gdb-post-prompt): ...and references to it.
(gdb-frame-handler): Strip directory name from filename if present.
| -rw-r--r-- | lisp/progmodes/gdb-ui.el | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 4b3202c6e41..28fcb70bb8b 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el | |||
| @@ -114,8 +114,6 @@ Set to \"main\" at start if gdb-show-main is t.") | |||
| 114 | Each element has the form (VARNUM EXPRESSION NUMCHILD TYPE VALUE STATUS FP) | 114 | Each element has the form (VARNUM EXPRESSION NUMCHILD TYPE VALUE STATUS FP) |
| 115 | where STATUS is nil (unchanged), `changed' or `out-of-scope', FP the frame | 115 | where STATUS is nil (unchanged), `changed' or `out-of-scope', FP the frame |
| 116 | address for root variables.") | 116 | address for root variables.") |
| 117 | (defvar gdb-force-update t | ||
| 118 | "Non-nil means that view of watch expressions will be updated in the speedbar.") | ||
| 119 | (defvar gdb-main-file nil "Source file from which program execution begins.") | 117 | (defvar gdb-main-file nil "Source file from which program execution begins.") |
| 120 | (defvar gdb-overlay-arrow-position nil) | 118 | (defvar gdb-overlay-arrow-position nil) |
| 121 | (defvar gdb-server-prefix nil) | 119 | (defvar gdb-server-prefix nil) |
| @@ -527,7 +525,6 @@ With arg, use separate IO iff arg is positive." | |||
| 527 | gdb-current-language nil | 525 | gdb-current-language nil |
| 528 | gdb-frame-number nil | 526 | gdb-frame-number nil |
| 529 | gdb-var-list nil | 527 | gdb-var-list nil |
| 530 | gdb-force-update t | ||
| 531 | gdb-main-file nil | 528 | gdb-main-file nil |
| 532 | gdb-first-post-prompt t | 529 | gdb-first-post-prompt t |
| 533 | gdb-prompting nil | 530 | gdb-prompting nil |
| @@ -1381,7 +1378,6 @@ happens to be appropriate." | |||
| 1381 | ;; FIXME: with GDB-6 on Darwin, this might very well work. | 1378 | ;; FIXME: with GDB-6 on Darwin, this might very well work. |
| 1382 | ;; Only needed/used with speedbar/watch expressions. | 1379 | ;; Only needed/used with speedbar/watch expressions. |
| 1383 | (when (and (boundp 'speedbar-frame) (frame-live-p speedbar-frame)) | 1380 | (when (and (boundp 'speedbar-frame) (frame-live-p speedbar-frame)) |
| 1384 | (setq gdb-force-update t) | ||
| 1385 | (if (string-equal gdb-version "pre-6.4") | 1381 | (if (string-equal gdb-version "pre-6.4") |
| 1386 | (gdb-var-update) | 1382 | (gdb-var-update) |
| 1387 | (gdb-var-update-1))))) | 1383 | (gdb-var-update-1))))) |
| @@ -3166,7 +3162,9 @@ BUFFER nil or omitted means use the current buffer." | |||
| 3166 | (if (and (match-string 3) gud-overlay-arrow-position) | 3162 | (if (and (match-string 3) gud-overlay-arrow-position) |
| 3167 | (let ((buffer (marker-buffer gud-overlay-arrow-position)) | 3163 | (let ((buffer (marker-buffer gud-overlay-arrow-position)) |
| 3168 | (position (marker-position gud-overlay-arrow-position))) | 3164 | (position (marker-position gud-overlay-arrow-position))) |
| 3169 | (when (and buffer (string-equal (buffer-name buffer) (match-string 3))) | 3165 | (when (and buffer |
| 3166 | (string-equal (buffer-name buffer) | ||
| 3167 | (file-name-nondirectory (match-string 3)))) | ||
| 3170 | (with-current-buffer buffer | 3168 | (with-current-buffer buffer |
| 3171 | (setq fringe-indicator-alist | 3169 | (setq fringe-indicator-alist |
| 3172 | (if (string-equal gdb-frame-number "0") | 3170 | (if (string-equal gdb-frame-number "0") |