From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9830 invoked by alias); 18 Feb 2005 19:27:31 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 9769 invoked from network); 18 Feb 2005 19:27:25 -0000 Received: from unknown (HELO hub.ott.qnx.com) (209.226.137.76) by sourceware.org with SMTP; 18 Feb 2005 19:27:25 -0000 Received: from smtp.ott.qnx.com (smtp.ott.qnx.com [10.0.2.158]) by hub.ott.qnx.com (8.9.3/8.9.3) with ESMTP id OAA20625 for ; Fri, 18 Feb 2005 14:29:51 -0500 Received: (from alain@localhost) by smtp.ott.qnx.com (8.8.8/8.6.12) with UUCP id OAA17870 for gdb-patches@sources.redhat.com; Fri, 18 Feb 2005 14:27:24 -0500 Message-Id: <200502181927.OAA17870@smtp.ott.qnx.com> Subject: Re: MI testsuite improvements To: bob@brasko.net (Bob Rossi) Date: Fri, 18 Feb 2005 21:05:00 -0000 From: "Alain Magloire" Cc: cagney@gnu.org (Andrew Cagney), alain@qnx.com (Alain Magloire), nickrob@snap.net.nz (Nick Roberts), gdb-patches@sources.redhat.com In-Reply-To: <20050218180003.GA9549@white> from "Bob Rossi" at Feb 18, 2005 01:00:03 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2005-02/txt/msg00200.txt.bz2 > > > > Ok. Wonder if it should be ``set/show tty'', "tty ..." just a wrapper. > > Ok, I'm going to implement this before even thinking about anything > else. Do you care what file the -mi-tty command's go in? or should I > create a new file? > > Also, is there an easy way to use the set/show internally to GDB? This > way, as you suggessted, there will be 3 ways to access the inferior's > tty device name. > > - through the MI commands > - through the set/show > - and you can only set the tty through the 'tty' console command > there is no way to get the name. This should probably be > depricated ... > > Internally, they should all use the same data, so, is there an > interface to modify the set/show value internally to GDB? > Bob, I did not see the original of your proposal, so .. Am I correct to assume that the "show" tty will print the master side and not the slave or vice versa ... Meaning the frontends are interested in the other side of the pipe not the tty given by gdb to the inferior. -- au revoir, alain