From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27731 invoked by alias); 3 Dec 2002 16:33:07 -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 27489 invoked from network); 3 Dec 2002 16:32:59 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 3 Dec 2002 16:32:59 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18JHrG-0005Yf-00; Tue, 03 Dec 2002 12:33:22 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18JFzB-0002H1-00; Tue, 03 Dec 2002 11:33:25 -0500 Date: Tue, 03 Dec 2002 08:33:00 -0000 From: Daniel Jacobowitz To: Fernando Nasser Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA/testsuite] Test printing complex numbers in C Message-ID: <20021203163325.GA8722@nevyn.them.org> Mail-Followup-To: Fernando Nasser , gdb-patches@sources.redhat.com References: <20021005032208.GA31268@nevyn.them.org> <3DECDD18.6040709@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DECDD18.6040709@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-12/txt/msg00070.txt.bz2 On Tue, Dec 03, 2002 at 11:34:32AM -0500, Fernando Nasser wrote: > Sorry Daniel, due to a problem with my mail it got lost again. > > I am OK with the new tests (thanks!), but I would like to > "setup_xfail_format" them for gcc stabs. It is a compiler problem, not > GDB's, so we should not add the FAILs to our output. > > Can you do that? > > Regards, > Fernando > > P.S.: You must call "get_debug_format" somewhere before using > "setup_xfail_format" if I remember correctly. Here's the problem... stabs DWARF-2 GCC 2.95 pass fail GCC 3.x fail pass So what to do? I suppose I could add a check for the major version of GCC in get_compiler_info (?) and condition on that. > > > > Daniel Jacobowitz wrote: > >Fernando, > > > >I think this test submission got lost, so here it is again. It's a test > >for > >the printing of complex numbers in C, for those compilers which support > >it. The test is GCC specific right now. > > > >[By the way, it fails on GCC 3.0/stabs because of a (probably) GCC bug in > >debug information. Still not fixed in 3.2. It also fails in GCC > >2.95/DWARF-2 because of a bug with __attribute__((packed)). We can sort > >out > >XFAILs later, I have some ideas on that front.] > > > > > -- > Fernando Nasser > Red Hat Canada Ltd. E-Mail: fnasser@redhat.com > 2323 Yonge Street, Suite #300 > Toronto, Ontario M4P 2C9 > > -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer