From 27acfab31ed29a7f3394f3570debb09d5a7e161d Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Tue, 19 Feb 2008 09:50:24 +0000 Subject: (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). --- lisp/progmodes/gdb-ui.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lisp/progmodes/gdb-ui.el') 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 -- cgit v1.2.3