From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.tramp,gmane.emacs.help Subject: Re: GDB over TRAMP: problem with user I/O Date: Sun, 10 Dec 2017 16:16:57 +0100 Message-ID: <871sk2sjdi.fsf@gmx.de> References: <87y3mar6p9.fsf@aol.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1512919040 7305 195.159.176.226 (10 Dec 2017 15:17:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 10 Dec 2017 15:17:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: help-gnu-emacs@gnu.org, tramp-devel@gnu.org To: Live System User Original-X-From: tramp-devel-bounces+get-tramp-devel=m.gmane.org@gnu.org Sun Dec 10 16:17:14 2017 Return-path: Envelope-to: get-tramp-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eO3Lu-0001W6-B3 for get-tramp-devel@m.gmane.org; Sun, 10 Dec 2017 16:17:14 +0100 Original-Received: from localhost ([::1]:44980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eO3Lx-0004uW-Oe for get-tramp-devel@m.gmane.org; Sun, 10 Dec 2017 10:17:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eO3Lu-0004tS-SX for tramp-devel@gnu.org; Sun, 10 Dec 2017 10:17:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eO3Lr-0004ET-OD for tramp-devel@gnu.org; Sun, 10 Dec 2017 10:17:14 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:56699) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eO3Lr-0004D2-F1; Sun, 10 Dec 2017 10:17:11 -0500 Original-Received: from detlef.gmx.de ([212.86.60.132]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MexFh-1ehW0W49kn-00Ob8S; Sun, 10 Dec 2017 16:17:06 +0100 In-Reply-To: <87y3mar6p9.fsf@aol.com> (Live System User's message of "Sun, 10 Dec 2017 09:36:02 -0500") X-Provags-ID: V03:K0:yRurNK8haoe0VKsQR2WKzbzEGEKVScsx5wrPm05Tt+zQEQ43oBt X33Oof9SHD9J+Xq5U17xPfF9YQ+Ofx9IaYBVed2f7kMSP0+pc4hhg3+W1f5OhubIb6v6aHb nW3NX9a5GFyrJCYxW8UN7pJBtipDrbVI044H+7bcaYzR/Lil1ILnuRMxWGfKTy5XQX4vSrg CpNc5v2ZHqpkkv2dUdS4w== X-UI-Out-Filterresults: notjunk:1;V01:K0:ABrnTa/JkQ8=:kcY+pe1Hig410xEfY/21So 564OE0t1tb3bUxRzo8AVnjtu8Na4Yq3g7Qv0o2nK7r6xLXezxUSJEktjtA/sVRh6MkbNepIsJ wc4+X3jsshbI2/DIiPuPd12VXYcKus3pGlD229AZkhc0pJdVKywGCK2oZ0LLIVbKAWtBnRg/m 6H349I6mqz3OWLSzNzhgA5hppNuzjK0mjsNJPS4RwU6UBAumLjdrCGF4PyrI2h/xvuVEBL5Zb 6pspVh6AqC8v9lDWfbO8Z8p7xrhwn+tX2pwz7B1bPXN6YKjMI6ndqcj2ZHTeeqI2CkEAAlD3T jylzoZ0XJ6veCc8IZgK2GGy+DXkLeEOxd1EH6qJ1BZHUftpjmWJ0aihlBKFDCXPwMio51lnBu RH4KHNMlZZgLCkFUdrwgM8OyHB6L4d7uQVuEE/2D+1jIOM9MxNFJKE2rokx2aKyw1TTGStDFb EKJvpYWf0N0OKuWCz2Nm2+zUsNsuyRpX/B9p2amdmjH8lq0oPHDGoxKoBAU5Kq/rEq9n7IrI7 JGSczRsKubrLX8L3HA5qwa0qFCjX9QCyxgqhy9dX8OHNKfo6+GO2Sxi4GhxJvJtVXMQ5RmZAg aGwGZnrojY5j2+/O4+B2PzW9aSXAvfsgTizyQH+rimvi+lYuu9B6zc1dG2bZsCnDx4YJ7HB6h ho4HMyPewOHK4+NP7Rv9MP3Iy7NplwlDeOxywhty4b6+uVKAUylJOtOt4mp8EoTtxVAKSKL+H XLOWSl3tYaNeIRAeKC4mxHlPQ5NkqY2bMDxxFEBwYkKO8DJ3oXXrW6NMX3wbnjtbPiyBjB/F X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.18 X-BeenThere: tramp-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tramp-devel-bounces+get-tramp-devel=m.gmane.org@gnu.org Original-Sender: "Tramp-devel" Xref: news.gmane.org gmane.emacs.tramp:9232 gmane.emacs.help:115325 Archived-At: Live System User writes: > Hi Michael, Hi, >> I have no idea how to fix this. Handling remote ttys simply does not >> work as gdb expects. > > Take a look at gdbserver (part of the GDB gdb-gdbserver package > on Gnu/Linux). Thanks for the hint. Unfortunately, while scanning its doc, I cannot see how gdbserver could solve the problem at hand: redirecting the i/o of the remote program being debugged to emacs. Best regards, Michael.