From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12207 invoked by alias); 20 Sep 2004 00:18:25 -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 12198 invoked from network); 20 Sep 2004 00:18:25 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 20 Sep 2004 00:18:25 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1C9Bsu-0006VI-Kz for ; Sun, 19 Sep 2004 20:18:24 -0400 Date: Mon, 20 Sep 2004 00:18:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [testsuite] Add test for setting breakpoints by full path Message-ID: <20040920001824.GA24967@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20040920001159.GA20633@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040920001159.GA20633@nevyn.them.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-09/txt/msg00309.txt.bz2 On Sun, Sep 19, 2004 at 08:11:59PM -0400, Daniel Jacobowitz wrote: > This patch adds a test for a bug I found in using the full pathname to a > file to set breakpoints. I'll send along an analysis of the bug with the > patch, in my next message. > > I needed to generate unique failure messages for failures that occur in > gdb_breakpoint, so I added an option to suppress its automatic "fail" > case. > > This test script depends on how the executable is compiled. Therefore, > it returns "untested" if the host is remote. It copies its source file > into the build directory, and compiles it using: > - an absolute pathname > - a relative pathname to the directory GDB is run in > - a relative pathname from a different directory > > The last fails before symbols are loaded, without the patch I'll post. > > Test OK? Bad Dan! Tested by running the testsuite on i386-pc-linux-gnu, no regressions. One failure without the corresponding patch to symtab.c. OK? -- Daniel Jacobowitz