From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19391 invoked by alias); 6 Dec 2004 02:49:13 -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 19367 invoked from network); 6 Dec 2004 02:49:04 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 6 Dec 2004 02:49:04 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1Cb8vw-0007zy-3x; Sun, 05 Dec 2004 21:49:04 -0500 Date: Mon, 06 Dec 2004 02:56:00 -0000 From: Daniel Jacobowitz To: Randolph Chung Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfa] tweak patterns for annota3.exp Message-ID: <20041206024904.GA30704@nevyn.them.org> Mail-Followup-To: Randolph Chung , gdb-patches@sources.redhat.com References: <20041206021944.GX6359@tausq.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041206021944.GX6359@tausq.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-12/txt/msg00142.txt.bz2 On Sun, Dec 05, 2004 at 06:19:44PM -0800, Randolph Chung wrote: > Note: i don't really understand the annotation stuff in gdb... > > I've been getting FAILs for this test for a long time, and i never quite > understood why.... > > In the first case, i see an extra \r\n between "breakpoint 2" and > "Breakpoint 2, ...". Also on hppa-linux, the backtrace prints out the Are you sure there's nothing but an extra \r\n? It definitely passes for others, so I'd like to know where that came from. > address of the signal handler... i.e. i get > > #0 0x000105d4 in handle_USR1 (sig=16) at /home/tausq/gdb/gdb-cvs/gdb/testsuite/gdb.base/annota3.c:18 > > instead of what the script expected, which seems to be > #0 handle_USR1 (sig=16) at /home/tausq/gdb/gdb-cvs/gdb/testsuite/gdb.base/annota3.c:18 The extra address means we didn't put the breakpoint at the beginning of a line. This could be a prologue skipper bug, a GCC bug, a general the-world-hates-us bug, or we could decide it wasn't a bug. The testsuite seems to contain examples of all of the above. -- Daniel Jacobowitz