diff options
-rw-r--r-- | lisp/progmodes/gdb-ui.el | 6 |
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 |