diff options
| -rw-r--r-- | lisp/progmodes/gdb-mi.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index ea3b1b816a8..7fb36873918 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el | |||
| @@ -1729,25 +1729,25 @@ this trigger is subscribed to `gdb-buf-publisher' and called with | |||
| 1729 | "Interrupt the program being debugged." | 1729 | "Interrupt the program being debugged." |
| 1730 | (interactive) | 1730 | (interactive) |
| 1731 | (interrupt-process | 1731 | (interrupt-process |
| 1732 | (get-buffer-process gud-comint-buffer) comint-ptyp)) | 1732 | (get-buffer-process (gdb-get-buffer-create 'gdb-inferior-io)) comint-ptyp)) |
| 1733 | 1733 | ||
| 1734 | (defun gdb-io-quit () | 1734 | (defun gdb-io-quit () |
| 1735 | "Send quit signal to the program being debugged." | 1735 | "Send quit signal to the program being debugged." |
| 1736 | (interactive) | 1736 | (interactive) |
| 1737 | (quit-process | 1737 | (quit-process |
| 1738 | (get-buffer-process gud-comint-buffer) comint-ptyp)) | 1738 | (get-buffer-process (gdb-get-buffer-create 'gdb-inferior-io)) comint-ptyp)) |
| 1739 | 1739 | ||
| 1740 | (defun gdb-io-stop () | 1740 | (defun gdb-io-stop () |
| 1741 | "Stop the program being debugged." | 1741 | "Stop the program being debugged." |
| 1742 | (interactive) | 1742 | (interactive) |
| 1743 | (stop-process | 1743 | (stop-process |
| 1744 | (get-buffer-process gud-comint-buffer) comint-ptyp)) | 1744 | (get-buffer-process (gdb-get-buffer-create 'gdb-inferior-io)) comint-ptyp)) |
| 1745 | 1745 | ||
| 1746 | (defun gdb-io-eof () | 1746 | (defun gdb-io-eof () |
| 1747 | "Send end-of-file to the program being debugged." | 1747 | "Send end-of-file to the program being debugged." |
| 1748 | (interactive) | 1748 | (interactive) |
| 1749 | (process-send-eof | 1749 | (process-send-eof |
| 1750 | (get-buffer-process gud-comint-buffer))) | 1750 | (get-buffer-process (gdb-get-buffer-create 'gdb-inferior-io)))) |
| 1751 | 1751 | ||
| 1752 | (defun gdb-clear-inferior-io () | 1752 | (defun gdb-clear-inferior-io () |
| 1753 | (with-current-buffer (gdb-get-buffer-create 'gdb-inferior-io) | 1753 | (with-current-buffer (gdb-get-buffer-create 'gdb-inferior-io) |