From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15098 invoked by alias); 28 Nov 2010 18:28:10 -0000 Received: (qmail 15090 invoked by uid 22791); 28 Nov 2010 18:28:10 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from imr4.ericy.com (HELO imr4.ericy.com) (198.24.6.8) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 28 Nov 2010 18:28:05 +0000 Received: from eusaamw0706.eamcs.ericsson.se ([147.117.20.31]) by imr4.ericy.com (8.14.3/8.14.3/Debian-9.1ubuntu1) with ESMTP id oASItUjW023310 for ; Sun, 28 Nov 2010 12:55:31 -0600 Received: from EUSAACMS0703.eamcs.ericsson.se ([169.254.1.63]) by eusaamw0706.eamcs.ericsson.se ([147.117.20.31]) with mapi; Sun, 28 Nov 2010 13:27:56 -0500 From: Marc Khouzam To: "gdb@sourceware.org" Date: Sun, 28 Nov 2010 18:28:00 -0000 Subject: Using telnet to control a running GDB Message-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-11/txt/msg00101.txt.bz2 Hi, I saw a neat feature in another debugger that I thought would be nice for G= DB. The user could ask GDB to open a tcp port which would accept a telnet conne= ction. Using telnet, the user could then start a _second_ shell to the same GDB an= d control it. This would help a user get a full-fledge GDB command shell, even when GDB is being run by a frontend. It would also allow the remote controlling of a running GDB. Could be usef= ul for troubleshooting. Such a feature wouldn't already exist, would it? Thanks Marc