diff options
| author | Nick Roberts | 2006-03-25 00:09:15 +0000 |
|---|---|---|
| committer | Nick Roberts | 2006-03-25 00:09:15 +0000 |
| commit | b19f3205232e58279de02924149bd9f9114c2aee (patch) | |
| tree | 772b532c30c279054564e743b44a559c8a29b944 | |
| parent | 833627da7492e5dd66baf7c001770bd9c05d5030 (diff) | |
| download | emacs-b19f3205232e58279de02924149bd9f9114c2aee.tar.gz emacs-b19f3205232e58279de02924149bd9f9114c2aee.zip | |
(gdba): Revert 2006-03-10 change for case of "run" in .gdbinit.
(gdb-var-create-regexp): Remove "^done" prefix for gdb-mi.el.
| -rw-r--r-- | lisp/progmodes/gdb-ui.el | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 7600f43e081..b969515e2fc 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el | |||
| @@ -78,13 +78,15 @@ | |||
| 78 | ;; gdb-assembler-custom with a lisp debugger it does!). | 78 | ;; gdb-assembler-custom with a lisp debugger it does!). |
| 79 | 79 | ||
| 80 | ;;; Problems with watch expressions, GDB/MI: | 80 | ;;; Problems with watch expressions, GDB/MI: |
| 81 | |||
| 82 | ;; 1) They go out of scope when the inferior is re-run. | 81 | ;; 1) They go out of scope when the inferior is re-run. |
| 83 | ;; 2) -stack-list-locals has a type field but also prints type in values field. | 82 | ;; 2) -stack-list-locals has a type field but also prints type in values field. |
| 84 | ;; 3) VARNUM increments even when variable object is not created (maybe trivial). | 83 | ;; 3) VARNUM increments even when variable object is not created |
| 84 | ;; (maybe trivial). | ||
| 85 | 85 | ||
| 86 | ;;; TODO: | 86 | ;; Known Bugs: |
| 87 | ;; 1) M-x gdb doesn't work with "run" command in .gdbinit, use M-x gdba instead. | ||
| 87 | 88 | ||
| 89 | ;;; TODO: | ||
| 88 | ;; 1) Use MI command -data-read-memory for memory window. | 90 | ;; 1) Use MI command -data-read-memory for memory window. |
| 89 | ;; 2) Use tree-widget.el instead of the speedbar for watch-expressions? | 91 | ;; 2) Use tree-widget.el instead of the speedbar for watch-expressions? |
| 90 | ;; 3) Mark breakpoint locations on scroll-bar of source buffer? | 92 | ;; 3) Mark breakpoint locations on scroll-bar of source buffer? |
| @@ -259,7 +261,8 @@ detailed description of this mode. | |||
| 259 | (interactive (list (gud-query-cmdline 'gdba))) | 261 | (interactive (list (gud-query-cmdline 'gdba))) |
| 260 | ;; | 262 | ;; |
| 261 | ;; Let's start with a basic gud-gdb buffer and then modify it a bit. | 263 | ;; Let's start with a basic gud-gdb buffer and then modify it a bit. |
| 262 | (gdb command-line)) | 264 | (gdb command-line) |
| 265 | (gdb-init-1)) | ||
| 263 | 266 | ||
| 264 | (defcustom gdb-debug-ring-max 128 | 267 | (defcustom gdb-debug-ring-max 128 |
| 265 | "Maximum size of `gdb-debug-ring'." | 268 | "Maximum size of `gdb-debug-ring'." |
| @@ -703,7 +706,7 @@ With arg, enter name of variable to be watched in the minibuffer." | |||
| 703 | (message "gud-watch is a no-op in this mode.")))) | 706 | (message "gud-watch is a no-op in this mode.")))) |
| 704 | 707 | ||
| 705 | (defconst gdb-var-create-regexp | 708 | (defconst gdb-var-create-regexp |
| 706 | "\\^done,name=\"\\(.*?\\)\",.*numchild=\"\\(.*?\\)\",.*type=\"\\(.*?\\)\"") | 709 | "name=\"\\(.*?\\)\",.*numchild=\"\\(.*?\\)\",.*type=\"\\(.*?\\)\"") |
| 707 | 710 | ||
| 708 | (defun gdb-var-create-handler (expr) | 711 | (defun gdb-var-create-handler (expr) |
| 709 | (goto-char (point-min)) | 712 | (goto-char (point-min)) |