changeset 51307:95bf035b1d6e

(gud-gdb-goto-stackframe, gud-gdb-get-stackframe): Add server prefix to the gdb commands used by the speedbar.
author Nick Roberts <nickrob@snap.net.nz>
date Wed, 28 May 2003 20:27:47 +0000
parents 6f6a567f5fde
children 67502df21b92
files lisp/gud.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gud.el	Wed May 28 20:23:54 2003 +0000
+++ b/lisp/gud.el	Wed May 28 20:27:47 2003 +0000
@@ -578,7 +578,7 @@
 (defun gud-gdb-goto-stackframe (text token indent)
   "Goto the stackframe described by TEXT, TOKEN, and INDENT."
   (speedbar-with-attached-buffer
-   (gud-basic-call (concat "frame " (nth 1 token)))
+   (gud-basic-call (concat "server frame " (nth 1 token)))
    (sit-for 1)))
 
 (defvar gud-gdb-fetched-stack-frame nil
@@ -599,7 +599,7 @@
   "Extract the current stack frame out of the GUD GDB BUFFER."
   (let ((newlst nil)
 	(fetched-stack-frame-list
-	 (gud-gdb-run-command-fetch-lines "backtrace" buffer)))
+	 (gud-gdb-run-command-fetch-lines "server backtrace" buffer)))
     (if (and (car fetched-stack-frame-list)
 	     (string-match "No stack" (car fetched-stack-frame-list)))
 	;; Go into some other mode???