summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2008-02-19 09:50:24 +0000
committerNick Roberts <nickrob@snap.net.nz>2008-02-19 09:50:24 +0000
commit27acfab31ed29a7f3394f3570debb09d5a7e161d (patch)
tree20b3ed0668713a3cfea25a54081e956c22fc7bf9
parent0287c1d928b233f98aa225c16ec97556eabb1ca4 (diff)
downloademacs-27acfab31ed29a7f3394f3570debb09d5a7e161d.tar.gz
(gdba): Recreate as an alias for gdb.
(gdb): (Re)set gdb-flush-pending-output to nil here... (gdb-init-1): ...instead of here (before gdb-prompt).
-rw-r--r--lisp/progmodes/gdb-ui.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index a3a40e03574..56241846ebd 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -317,9 +317,14 @@ session."
(setq gdb-first-prompt t)
(setq gud-running nil)
(setq gdb-ready nil)
+ (setq gdb-flush-pending-output nil)
(setq gud-filter-pending-text nil)
(run-hooks 'gdb-mode-hook))
+;; Keep as an alias for compatibility with Emacs 22.1.
+;;;###autoload
+(defalias 'gdba 'gdb)
+
(defcustom gdb-debug-log-max 128
"Maximum size of `gdb-debug-log'. If nil, size is unlimited."
:group 'gud
@@ -593,7 +598,6 @@ otherwise do not."
gdb-pending-triggers nil
gdb-output-sink 'user
gdb-server-prefix "server "
- gdb-flush-pending-output nil
gdb-location-alist nil
gdb-source-file-list nil
gdb-error nil