From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#4604: 23.1.50; tramp + remote debugging works no longer Date: Fri, 02 Oct 2009 15:46:11 +0200 Message-ID: References: Reply-To: Michael Albinus , 4604@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1254492554 1541 80.91.229.12 (2 Oct 2009 14:09:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Oct 2009 14:09:14 +0000 (UTC) Cc: 4604@emacsbugs.donarmstrong.com, Michal To: Nick Roberts Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 02 16:09:07 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mtin8-0002Rm-CC for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Oct 2009 16:07:26 +0200 Original-Received: from localhost ([127.0.0.1]:60176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mtin7-0003q7-Ge for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Oct 2009 10:07:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mtin1-0003ps-Tw for bug-gnu-emacs@gnu.org; Fri, 02 Oct 2009 10:07:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mtimw-0003p0-3G for bug-gnu-emacs@gnu.org; Fri, 02 Oct 2009 10:07:18 -0400 Original-Received: from [199.232.76.173] (port=55792 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mtimv-0003ox-R1 for bug-gnu-emacs@gnu.org; Fri, 02 Oct 2009 10:07:13 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46788) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mtimu-0003Ru-Gp for bug-gnu-emacs@gnu.org; Fri, 02 Oct 2009 10:07:13 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n92E77Wm030407; Fri, 2 Oct 2009 07:07:07 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n92Do491026616; Fri, 2 Oct 2009 06:50:04 -0700 Resent-Date: Fri, 2 Oct 2009 06:50:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Michael Albinus Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 02 Oct 2009 13:50:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4604 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4604-submit@emacsbugs.donarmstrong.com id=B4604.125449118126358 (code B ref 4604); Fri, 02 Oct 2009 13:50:04 +0000 Original-Received: (at 4604) by emacsbugs.donarmstrong.com; 2 Oct 2009 13:46:21 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mailrelay1.alcatel.de (mailrelay1.alcatel.de [194.113.59.95]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n92DkJug026344 for <4604@emacsbugs.donarmstrong.com>; Fri, 2 Oct 2009 06:46:21 -0700 Original-Received: from destgsu0048.stgl.sel.alcatel.de (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n92DkDjh023397; Fri, 2 Oct 2009 15:46:13 +0200 Original-Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.stgl.sel.alcatel.de (8.12.3/8.12.3) with ESMTP id n92DkCY4002862; Fri, 2 Oct 2009 15:46:12 +0200 (MEST) In-Reply-To: (Nick Roberts's message of "Thu, 1 Oct 2009 16:14:35 +1300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-Alcanet-virus-scanned: n92DkCY4002862 at destgsu0048.stgl.sel.alcatel.de X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 02 Oct 2009 10:07:18 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31636 Archived-At: nickrob@snap.net.nz (Nick Roberts) writes: > > start-file-process("gdb-inferior" # nil) > > apply(start-file-process "gdb-inferior" # nil nil) > > comint-exec-1("gdb-inferior" # nil nil) > > comint-exec(# "gdb-inferior" nil nil nil) > > make-comint-in-buffer("gdb-inferior" # nil) > > gdb-inferior-io-mode() > > gdb-get-buffer-create(gdb-inferior-io) > > Yes, it appears to be broken now. Emacs now lets GDB to take control of the > terminal associated with the I/O buffer for it's own child process (the > program being debugged)and always has a separate I/O buffer. In fact, it > looks like previously GDB in Emacs didn't work with tramp when it had a > separate I/O buffer (gdb-use-separate-io-buffer is t). > > PROGRAM is nil in make-comint-in-buffer (third arg - also see start-process) > which means just create a pty. Tramp's start-file-process implementation does not support ptys. And I have no idea how to implement it. For the time being, I will add a check for PROGRAM, resulting in an error when it is nil. No solution, of course, but a more precise indicator. > That must have been in emacs 23.1. For now, you're better off using that version > with tramp ... or you can always try to write a patch for 23.1.50. That would be > great! I would appreciate any patch for this! Or at least proposals how to implement. Best regards, Michael.