diff options
| author | Nick Roberts | 2003-05-28 20:27:47 +0000 |
|---|---|---|
| committer | Nick Roberts | 2003-05-28 20:27:47 +0000 |
| commit | 6dc62ce17e03eef5a3fca9381049282a7372778f (patch) | |
| tree | 1153894098cd9714bf564c9c3247066769e5d2f0 | |
| parent | 0035257489c28ab2b206d853d22e21825a3a2081 (diff) | |
| download | emacs-6dc62ce17e03eef5a3fca9381049282a7372778f.tar.gz emacs-6dc62ce17e03eef5a3fca9381049282a7372778f.zip | |
(gud-gdb-goto-stackframe, gud-gdb-get-stackframe): Add
server prefix to the gdb commands used by the speedbar.
| -rw-r--r-- | lisp/gud.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/gud.el b/lisp/gud.el index 7cd11a40477..45ffeddf68d 100644 --- a/lisp/gud.el +++ b/lisp/gud.el | |||
| @@ -578,7 +578,7 @@ It is passed through FILTER before we look at it." | |||
| 578 | (defun gud-gdb-goto-stackframe (text token indent) | 578 | (defun gud-gdb-goto-stackframe (text token indent) |
| 579 | "Goto the stackframe described by TEXT, TOKEN, and INDENT." | 579 | "Goto the stackframe described by TEXT, TOKEN, and INDENT." |
| 580 | (speedbar-with-attached-buffer | 580 | (speedbar-with-attached-buffer |
| 581 | (gud-basic-call (concat "frame " (nth 1 token))) | 581 | (gud-basic-call (concat "server frame " (nth 1 token))) |
| 582 | (sit-for 1))) | 582 | (sit-for 1))) |
| 583 | 583 | ||
| 584 | (defvar gud-gdb-fetched-stack-frame nil | 584 | (defvar gud-gdb-fetched-stack-frame nil |
| @@ -599,7 +599,7 @@ It is passed through FILTER before we look at it." | |||
| 599 | "Extract the current stack frame out of the GUD GDB BUFFER." | 599 | "Extract the current stack frame out of the GUD GDB BUFFER." |
| 600 | (let ((newlst nil) | 600 | (let ((newlst nil) |
| 601 | (fetched-stack-frame-list | 601 | (fetched-stack-frame-list |
| 602 | (gud-gdb-run-command-fetch-lines "backtrace" buffer))) | 602 | (gud-gdb-run-command-fetch-lines "server backtrace" buffer))) |
| 603 | (if (and (car fetched-stack-frame-list) | 603 | (if (and (car fetched-stack-frame-list) |
| 604 | (string-match "No stack" (car fetched-stack-frame-list))) | 604 | (string-match "No stack" (car fetched-stack-frame-list))) |
| 605 | ;; Go into some other mode??? | 605 | ;; Go into some other mode??? |