From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7814 invoked by alias); 1 Nov 2004 16:13:35 -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 7802 invoked from network); 1 Nov 2004 16:13:33 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 1 Nov 2004 16:13:33 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1COeoG-00070c-CM; Mon, 01 Nov 2004 11:13:32 -0500 Date: Mon, 01 Nov 2004 16:13:00 -0000 From: Daniel Jacobowitz To: Felix Lee Cc: gdb-patches@sources.redhat.com Subject: Re: backtrace changes current source location Message-ID: <20041101161332.GA26751@nevyn.them.org> Mail-Followup-To: Felix Lee , gdb-patches@sources.redhat.com References: <20041026075115.4A2C354AAB5@stray.canids> <20041026132924.GA26886@nevyn.them.org> <20041026150127.6ED3E54AAB5@stray.canids> <417FDC11.7060700@gnu.org> <20041028005157.259D34E8F0A@stray.canids> <41825FD5.1030607@gnu.org> <20041029220723.CCE45501085@stray.canids> <4182D9AD.5010003@gnu.org> <20041030032828.DB2D2501085@stray.canids> <20041101043803.A261E50346B@stray.canids> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041101043803.A261E50346B@stray.canids> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-11/txt/msg00015.txt.bz2 On Sun, Oct 31, 2004 at 08:38:03PM -0800, Felix Lee wrote: > Index: gdb/testsuite/gdb.base/cursal.c > =================================================================== > RCS file: gdb/testsuite/gdb.base/cursal.c > diff -N gdb/testsuite/gdb.base/cursal.c > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ gdb/testsuite/gdb.base/cursal.c 31 Oct 2004 10:42:55 -0000 > @@ -0,0 +1,19 @@ Current policy is that this needs to have a copyright notice, please. > +if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != ""} { > + gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." > +} > +if {! [runto_main]} { > + gdb_suppress_tests > +} > + Also, don't use the *suppress* procedures - just return -1, and an "untested" for the first one. -- Daniel Jacobowitz