Commit 57e828ae authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(gdb-output-sink): Define with an invalid value.

(gdb): Initialize it here instead.
parent 1b511542
2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
 
* progmodes/gdb-ui.el (gdb-output-sink): Define with an invalid value.
(gdb): Initialize it here instead.
* files.el (locate-dominating-file): Fix thinko in last change.
Reported by Bruce Stephens <bruce.stephens@isode.com>.
 
......
......@@ -150,7 +150,7 @@ Emacs can't find.")
(defvar gdb-prompting nil
"True when gdb is idle with no pending input.")
(defvar gdb-output-sink 'user
(defvar gdb-output-sink nil
"The disposition of the output of the current gdb command.
Possible values are these symbols:
......@@ -317,6 +317,7 @@ session."
(local-set-key "\C-i" 'gud-gdb-complete-command)
(setq comint-prompt-regexp "^(.*gdb[+]?) *")
(setq paragraph-start comint-prompt-regexp)
(setq gdb-output-sink 'user)
(setq gdb-first-prompt t)
(setq gud-running nil)
(setq gdb-ready nil)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment