From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15737 invoked by alias); 31 Jul 2005 21:37:54 -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 15727 invoked by uid 22791); 31 Jul 2005 21:37:50 -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 21:37:50 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1DzLVD-00038P-2e; Sun, 31 Jul 2005 17:37:47 -0400 Date: Sun, 31 Jul 2005 21:37:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: Bob Rossi , gdb-patches@sources.redhat.com Subject: Re: MI testsuite to use PTY for inferior Message-ID: <20050731213747.GA12024@nevyn.them.org> Mail-Followup-To: Nick Roberts , Bob Rossi , 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> <20050731012111.GB13808@nevyn.them.org> <20050731131653.GC22547@white> <17133.17501.192145.90128@farnswood.snap.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17133.17501.192145.90128@farnswood.snap.net.nz> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-07/txt/msg00242.txt.bz2 On Mon, Aug 01, 2005 at 09:36:29AM +1200, Nick Roberts wrote: > > If it would be OK, I'd prefer to just have the TTY work with all MI > > tests, not making it optional. I'd like to repost the patch with all of > > the problems found already, and with that additional change. Is this OK? > > > > My theory is that no FE can/should use MI with out separating the inferior > > output via a pty. So, it's OK to test GDB under these assumptions. > > I think you should at least test for ptys first, so that the old tests are > run if/when they are not available. Won't do any good - expect relies on PTYs. If the system the tests are run on does not have PTYs, it won't have the testsuite either. > More generally I think its wrong to force > the frontend to separate the output. Currently, I get reasonable behaviour > with Emacs without doing this and would always include interleaved output as a > user option. Would it hurt you to stitch them back together, though? The fewer interfaces we have to support, the better... -- Daniel Jacobowitz CodeSourcery, LLC