From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17886 invoked by alias); 13 Feb 2007 03:33:19 -0000 Received: (qmail 17877 invoked by uid 22791); 13 Feb 2007 03:33:18 -0000 X-Spam-Check-By: sourceware.org Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.186) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 13 Feb 2007 03:33:13 +0000 Received: by nf-out-0910.google.com with SMTP id n28so104075nfc for ; Mon, 12 Feb 2007 19:33:11 -0800 (PST) Received: by 10.82.120.14 with SMTP id s14mr11582153buc.1171337591380; Mon, 12 Feb 2007 19:33:11 -0800 (PST) Received: by 10.82.161.17 with HTTP; Mon, 12 Feb 2007 19:33:11 -0800 (PST) Message-ID: Date: Tue, 13 Feb 2007 15:29:00 -0000 From: "Aman Wardak" To: gdb@sourceware.org Subject: many tests restart gdbserver MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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/msg00098.txt.bz2 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? Thanks, Aman