changeset 80146:6b627ca66379

(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).
author Nick Roberts <nickrob@snap.net.nz>
date Tue, 19 Feb 2008 09:50:24 +0000
parents 3fc3e5b15cf6
children a9166737871f
files lisp/progmodes/gdb-ui.el
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/gdb-ui.el	Tue Feb 19 09:48:00 2008 +0000
+++ b/lisp/progmodes/gdb-ui.el	Tue Feb 19 09:50:24 2008 +0000
@@ -317,9 +317,14 @@
   (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 @@
 	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