# HG changeset patch # User Nick Roberts # Date 1203414624 0 # Node ID 6b627ca6637955cc791bd9c9b051df0fd558e189 # Parent 3fc3e5b15cf632656c9c3d4b262b62c20a4a0386 (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). diff -r 3fc3e5b15cf6 -r 6b627ca66379 lisp/progmodes/gdb-ui.el --- 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