diff options
| author | Nick Roberts | 2008-02-19 09:50:24 +0000 |
|---|---|---|
| committer | Nick Roberts | 2008-02-19 09:50:24 +0000 |
| commit | 27acfab31ed29a7f3394f3570debb09d5a7e161d (patch) | |
| tree | 20b3ed0668713a3cfea25a54081e956c22fc7bf9 | |
| parent | 0287c1d928b233f98aa225c16ec97556eabb1ca4 (diff) | |
| download | emacs-27acfab31ed29a7f3394f3570debb09d5a7e161d.tar.gz emacs-27acfab31ed29a7f3394f3570debb09d5a7e161d.zip | |
(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).
| -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." | |||
| 317 | (setq gdb-first-prompt t) | 317 | (setq gdb-first-prompt t) |
| 318 | (setq gud-running nil) | 318 | (setq gud-running nil) |
| 319 | (setq gdb-ready nil) | 319 | (setq gdb-ready nil) |
| 320 | (setq gdb-flush-pending-output nil) | ||
| 320 | (setq gud-filter-pending-text nil) | 321 | (setq gud-filter-pending-text nil) |
| 321 | (run-hooks 'gdb-mode-hook)) | 322 | (run-hooks 'gdb-mode-hook)) |
| 322 | 323 | ||
| 324 | ;; Keep as an alias for compatibility with Emacs 22.1. | ||
| 325 | ;;;###autoload | ||
| 326 | (defalias 'gdba 'gdb) | ||
| 327 | |||
| 323 | (defcustom gdb-debug-log-max 128 | 328 | (defcustom gdb-debug-log-max 128 |
| 324 | "Maximum size of `gdb-debug-log'. If nil, size is unlimited." | 329 | "Maximum size of `gdb-debug-log'. If nil, size is unlimited." |
| 325 | :group 'gud | 330 | :group 'gud |
| @@ -593,7 +598,6 @@ otherwise do not." | |||
| 593 | gdb-pending-triggers nil | 598 | gdb-pending-triggers nil |
| 594 | gdb-output-sink 'user | 599 | gdb-output-sink 'user |
| 595 | gdb-server-prefix "server " | 600 | gdb-server-prefix "server " |
| 596 | gdb-flush-pending-output nil | ||
| 597 | gdb-location-alist nil | 601 | gdb-location-alist nil |
| 598 | gdb-source-file-list nil | 602 | gdb-source-file-list nil |
| 599 | gdb-error nil | 603 | gdb-error nil |