diff options
| author | Karoly Lorentey | 2004-05-22 22:52:43 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-05-22 22:52:43 +0000 |
| commit | 04a0dc45e1e3833a3a97e45f2b20197c8bec744a (patch) | |
| tree | af6a98682fc8bd24be22340137e489a0796c9eed /lisp/progmodes | |
| parent | f3c9434fad0ae6dfcadf44292df1472a402b5738 (diff) | |
| parent | 47ff5b284043393f79f231f0c6bd005a542721cb (diff) | |
| download | emacs-04a0dc45e1e3833a3a97e45f2b20197c8bec744a.tar.gz emacs-04a0dc45e1e3833a3a97e45f2b20197c8bec744a.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-325
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-326
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-327
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-328
Update from CVS: src/.gdbinit (xsymbol): Fix last change.
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-329
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-166
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/gdb-ui.el | 20 | ||||
| -rw-r--r-- | lisp/progmodes/gud.el | 11 |
2 files changed, 15 insertions, 16 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 19c57979130..1fa6f8f2645 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el | |||
| @@ -1728,15 +1728,15 @@ This arrangement depends on the value of `gdb-many-windows'." | |||
| 1728 | "Exit a debugging session cleanly by killing the gdb buffers and resetting | 1728 | "Exit a debugging session cleanly by killing the gdb buffers and resetting |
| 1729 | the source buffers." | 1729 | the source buffers." |
| 1730 | (dolist (buffer (buffer-list)) | 1730 | (dolist (buffer (buffer-list)) |
| 1731 | (if (not (eq buffer gud-comint-buffer)) | 1731 | (unless (eq buffer gud-comint-buffer) |
| 1732 | (with-current-buffer buffer | 1732 | (with-current-buffer buffer |
| 1733 | (if (memq gud-minor-mode '(gdba pdb)) | 1733 | (if (memq gud-minor-mode '(gdba pdb)) |
| 1734 | (if (string-match "^\*.+*$" (buffer-name)) | 1734 | (if (string-match "\\`\\*.+\\*\\'" (buffer-name)) |
| 1735 | (kill-buffer nil) | 1735 | (kill-buffer nil) |
| 1736 | (gdb-remove-breakpoint-icons (point-min) (point-max) t) | 1736 | (gdb-remove-breakpoint-icons (point-min) (point-max) t) |
| 1737 | (setq gud-minor-mode nil) | 1737 | (setq gud-minor-mode nil) |
| 1738 | (kill-local-variable 'tool-bar-map) | 1738 | (kill-local-variable 'tool-bar-map) |
| 1739 | (setq gud-running nil)))))) | 1739 | (setq gud-running nil)))))) |
| 1740 | (when (markerp gdb-overlay-arrow-position) | 1740 | (when (markerp gdb-overlay-arrow-position) |
| 1741 | (move-marker gdb-overlay-arrow-position nil) | 1741 | (move-marker gdb-overlay-arrow-position nil) |
| 1742 | (setq gdb-overlay-arrow-position nil)) | 1742 | (setq gdb-overlay-arrow-position nil)) |
| @@ -2013,5 +2013,5 @@ BUFFER nil or omitted means use the current buffer." | |||
| 2013 | 2013 | ||
| 2014 | (provide 'gdb-ui) | 2014 | (provide 'gdb-ui) |
| 2015 | 2015 | ||
| 2016 | ;;; arch-tag: e9fb00c5-74ef-469f-a088-37384caae352 | 2016 | ;; arch-tag: e9fb00c5-74ef-469f-a088-37384caae352 |
| 2017 | ;;; gdb-ui.el ends here | 2017 | ;;; gdb-ui.el ends here |
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 84dec78d895..eb0b887bdf3 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -2554,12 +2554,11 @@ It is saved for when this flag is not set.") | |||
| 2554 | 2554 | ||
| 2555 | (defun gud-reset () | 2555 | (defun gud-reset () |
| 2556 | (dolist (buffer (buffer-list)) | 2556 | (dolist (buffer (buffer-list)) |
| 2557 | (if (not (eq buffer gud-comint-buffer)) | 2557 | (unless (eq buffer gud-comint-buffer) |
| 2558 | (save-excursion | 2558 | (with-current-buffer buffer |
| 2559 | (set-buffer buffer) | 2559 | (when gud-minor-mode |
| 2560 | (when gud-minor-mode | 2560 | (setq gud-minor-mode nil) |
| 2561 | (setq gud-minor-mode nil) | 2561 | (kill-local-variable 'tool-bar-map)))))) |
| 2562 | (kill-local-variable 'tool-bar-map)))))) | ||
| 2563 | 2562 | ||
| 2564 | (defun gud-display-frame () | 2563 | (defun gud-display-frame () |
| 2565 | "Find and obey the last filename-and-line marker from the debugger. | 2564 | "Find and obey the last filename-and-line marker from the debugger. |