mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(gdb): Pop up current GUD buffer if user
tries to start a second session in graphical mode.
This commit is contained in:
parent
ac7b6e9b95
commit
e32ff2e256
1 changed files with 4 additions and 1 deletions
|
|
@ -690,7 +690,10 @@ session."
|
|||
(buffer-name gud-comint-buffer)
|
||||
(get-buffer-process gud-comint-buffer)
|
||||
(with-current-buffer gud-comint-buffer (eq gud-minor-mode 'gdba)))
|
||||
(error "Multiple debugging requires restarting in text command mode"))
|
||||
(let ((same-window-regexps))
|
||||
(display-buffer gud-comint-buffer)
|
||||
(error
|
||||
"Multiple debugging requires restarting in text command mode")))
|
||||
|
||||
(gud-common-init command-line nil 'gud-gdb-marker-filter)
|
||||
(set (make-local-variable 'gud-minor-mode) 'gdb)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue