summaryrefslogtreecommitdiff
path: root/lisp/gdb-ui.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2002-12-03 21:11:15 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2002-12-03 21:11:15 +0000
commitf5016b6f0a29eafef300a25e143092bfee6c95d9 (patch)
tree949909a180e3cd38da67a4e497a029ce94253832 /lisp/gdb-ui.el
parentb94a30018ea5b7bdf9f6d254a97cc2b0152a8b38 (diff)
downloademacs-f5016b6f0a29eafef300a25e143092bfee6c95d9.tar.gz
(gdba, gdb-starting, gdb-stopped, gdb-quit): Update gdb-running -> gud-running.
Diffstat (limited to 'lisp/gdb-ui.el')
-rw-r--r--lisp/gdb-ui.el14
1 files changed, 10 insertions, 4 deletions
diff --git a/lisp/gdb-ui.el b/lisp/gdb-ui.el
index e72b6605d43..28ceda51052 100644
--- a/lisp/gdb-ui.el
+++ b/lisp/gdb-ui.el
@@ -38,6 +38,12 @@
(defvar gdb-first-time nil)
(defvar gdb-proc nil "The process associated with gdb.")
+;; Dynamically-bound vars in gud.el
+(defvar gud-gdb-complete-string)
+(defvar gud-gdb-complete-break)
+(defvar gud-gdb-complete-list)
+(defvar gud-gdb-complete-in-progress)
+
;;;###autoload
(defun gdba (command-line)
"Run gdb on program FILE in buffer *gdb-FILE*.
@@ -124,7 +130,7 @@ The following interactive lisp functions help control operation :
(setq gdb-display-in-progress nil)
(setq gdb-dive nil)
(setq gud-last-last-frame nil)
- (setq gdb-running nil)
+ (setq gud-running nil)
(run-hooks 'gdb-mode-hook)
(setq gdb-proc (get-buffer-process (current-buffer)))
@@ -754,7 +760,7 @@ subprocess is now the program being debugged, not GDB."
(cond
((eq sink 'user)
(progn
- (setq gdb-running t)
+ (setq gud-running t)
(set-gdb-instance-output-sink 'inferior)))
(t (error "Unexpected `starting' annotation")))))
@@ -770,7 +776,7 @@ for the subprocess is now GDB, not the program being debugged."
(defun gdb-stopped (ignored)
"An annotation handler for `stopped'. It is just like gdb-stopping, except
that if we already set the output sink to 'user in gdb-stopping, that is fine."
- (setq gdb-running nil)
+ (setq gud-running nil)
(let ((sink (gdb-instance-output-sink)))
(cond
((eq sink 'inferior)
@@ -2170,7 +2176,7 @@ Just the partial-output buffer is left."
(setq left-margin-width 0)
(setq gud-minor-mode nil)
(kill-local-variable 'tool-bar-map)
- (setq gdb-running nil)
+ (setq gud-running nil)
(if (get-buffer-window (current-buffer))
(set-window-margins (get-buffer-window
(current-buffer))