]> git.eshelyaron.com Git - emacs.git/commitdiff
(gdba): Recreate as an alias for gdb.
authorNick Roberts <nickrob@snap.net.nz>
Tue, 19 Feb 2008 09:50:24 +0000 (09:50 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Tue, 19 Feb 2008 09:50:24 +0000 (09:50 +0000)
(gdb): (Re)set gdb-flush-pending-output to nil here...
(gdb-init-1): ...instead of here (before gdb-prompt).

lisp/progmodes/gdb-ui.el

index a3a40e03574a7db8c05288de1d2ff8b71bb71db3..56241846ebdefda97a41f1b169061cc5a173ef8a 100644 (file)
@@ -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