From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 874 invoked by alias); 31 Jul 2005 01:21:15 -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 860 invoked by uid 22791); 31 Jul 2005 01:21:12 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sun, 31 Jul 2005 01:21:12 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1Dz2Vr-0003cP-4X; Sat, 30 Jul 2005 21:21:11 -0400 Date: Sun, 31 Jul 2005 01:21:00 -0000 From: Daniel Jacobowitz To: Nick Roberts , gdb-patches@sources.redhat.com Subject: Re: MI testsuite to use PTY for inferior Message-ID: <20050731012111.GB13808@nevyn.them.org> Mail-Followup-To: Nick Roberts , gdb-patches@sources.redhat.com References: <17131.5769.342629.658975@farnswood.snap.net.nz> <20050730173855.GA21401@white> <17131.64575.780190.163527@farnswood.snap.net.nz> <20050730230309.GA22547@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050730230309.GA22547@white> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-07/txt/msg00235.txt.bz2 On Sat, Jul 30, 2005 at 07:03:09PM -0400, Bob Rossi wrote: > However, since that's pretty ugly, I'll take your suggestion and always > create and assign inferior_pty a value. Then I'll check it for the value > of "true" before executing any code. I recommend doing something different. Make the argument a flag, i.e. "mi_gdb_start use-tty". Or "no-tty" depending on what you want the default to be. -- Daniel Jacobowitz CodeSourcery, LLC