[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp/progmodes gdb-mi.el
From: |
Nick Roberts |
Subject: |
[Emacs-diffs] emacs/lisp/progmodes gdb-mi.el |
Date: |
Thu, 13 Aug 2009 13:22:11 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Nick Roberts <nickrob> 09/08/13 13:22:11
Modified files:
lisp/progmodes : gdb-mi.el
Log message:
(gdb-inferior-io-mode): Use start-process to
create buffer with a pty but no process so that GDB can make the
inferior the controlling process.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/progmodes/gdb-mi.el?cvsroot=emacs&r1=1.34&r2=1.35
Patches:
Index: gdb-mi.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/gdb-mi.el,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- gdb-mi.el 11 Aug 2009 23:26:08 -0000 1.34
+++ gdb-mi.el 13 Aug 2009 13:22:11 -0000 1.35
@@ -1432,11 +1432,11 @@
(define-derived-mode gdb-inferior-io-mode comint-mode "Inferior I/O"
"Major mode for gdb inferior-io."
:syntax-table nil :abbrev-table nil
- ;; We want to use comint because it has various nifty and familiar
- ;; features. We don't need a process, but comint wants one, so create
- ;; a dummy one.
- (make-comint-in-buffer
- "gdb-inferior" (current-buffer) "sleep" nil "1000000000"))
+ ;; We want to use comint because it has various nifty and familiar features.
+ (start-process "gdb-inferior"
+;; (concat "*input/output of " (gdb-get-target-string) "*")
+ (current-buffer)
+ nil))
(defun gdb-inferior-filter (proc string)
(unless (string-equal string "")
- [Emacs-diffs] emacs/lisp/progmodes gdb-mi.el,
Nick Roberts <=