From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10140 invoked by alias); 13 Feb 2007 11:59:47 -0000 Received: (qmail 10132 invoked by uid 22791); 13 Feb 2007 11:59:46 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 13 Feb 2007 11:59:39 +0000 Received: from dsl093-172-095.pit1.dsl.speakeasy.net ([66.93.172.95] helo=caradoc.them.org) by nevyn.them.org with esmtp (Exim 4.63) (envelope-from ) id 1HGwJs-0006O4-5l; Tue, 13 Feb 2007 06:59:36 -0500 Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HGwJr-0002Nq-I6; Tue, 13 Feb 2007 06:59:35 -0500 Date: Tue, 13 Feb 2007 15:43:00 -0000 From: Daniel Jacobowitz To: Aman Wardak Cc: gdb@sourceware.org Subject: Re: many tests restart gdbserver Message-ID: <20070213115934.GA9148@caradoc.them.org> Mail-Followup-To: Aman Wardak , gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) 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: 2007-02/txt/msg00099.txt.bz2 On Mon, Feb 12, 2007 at 07:33:11PM -0800, Aman Wardak wrote: > When the testsuite is run in a cross environment, many of the tests > start up the gdbserver on the target twice and only use the second > instance. > > lib/gdb.exp:gdb_start() starts the first instance > lib/gdb.exp:runto_main() starts the second > > Is this actually done for a purpose (maybe its needed to do this > sometimes) ? Or can we optimize this? Has anyone looked at it? I never figured out a way to get the testsuite to work without this. If you can, be my guest! I plan to try again sometime, but it won't be any time soon. -- Daniel Jacobowitz CodeSourcery