From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6209 invoked by alias); 9 Jul 2008 12:36:48 -0000 Received: (qmail 6201 invoked by uid 22791); 9 Jul 2008 12:36:47 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 09 Jul 2008 12:36:28 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 48FF398415; Wed, 9 Jul 2008 12:36:26 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 2AB5C9810F; Wed, 9 Jul 2008 12:36:26 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KGYuG-0004lk-S8; Wed, 09 Jul 2008 08:36:24 -0400 Date: Wed, 09 Jul 2008 12:36:00 -0000 From: Daniel Jacobowitz To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [ob] don't skip most of the testsuite... [was: Re: Make remote-sim target always have a thread] Message-ID: <20080709123624.GA18028@caradoc.them.org> Mail-Followup-To: Pedro Alves , gdb-patches@sourceware.org References: <200807031623.29562.pedro@codesourcery.com> <200807031904.20942.pedro@codesourcery.com> <20080707191518.GE11544@caradoc.them.org> <200807091152.43394.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200807091152.43394.pedro@codesourcery.com> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00134.txt.bz2 On Wed, Jul 09, 2008 at 11:52:43AM +0100, Pedro Alves wrote: > @@ -104,6 +104,7 @@ if { [gdb_breakpoint ${objdir}/${subdir} > set save_pwd [pwd] > cd ${subdir} > if { [gdb_compile "tmp-${srcfile}" "${testfile}" executable {debug}] != "" } { > + cd $save_pwd > return -1 > } > cd $save_pwd Thanks. If you want those bonus points back, you can get them by only compiling to object instead of executable in this command; link in a separate gdb_compile invocation. -- Daniel Jacobowitz CodeSourcery