From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20433 invoked by alias); 4 Dec 2002 23:19:53 -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 20381 invoked from network); 4 Dec 2002 23:19:51 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 4 Dec 2002 23:19:51 -0000 Received: from redhat.com (totem.toronto.redhat.com [172.16.14.242]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 6327180023F; Wed, 4 Dec 2002 18:19:51 -0500 (EST) Message-ID: <3DEE8D97.4080703@redhat.com> Date: Wed, 04 Dec 2002 15:19:00 -0000 From: Fernando Nasser Organization: Red Hat , Inc. - Toronto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Elizabeth Chastain Cc: drow@mvista.com, gdb-patches@sources.redhat.com Subject: Re: [RFA/testsuite] Test printing complex numbers in C References: <200212031654.gB3GsZL31271@duracef.shout.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-12/txt/msg00124.txt.bz2 Thanks Michael. Nice to have you back! Michael Elizabeth Chastain wrote:> stabs DWARF-2 > GCC 2.95 pass fail > GCC 3.x fail pass > > Do gcc 2.95.3/dwarf-2 and gcc 3.x/stabs+ have identical output, > or different output? > > If they are different output, you can do: > > send_gdb "blah" > gdb_expect { > -re "good output" { > pass ... > } > -re "flaky gcc 2.95.3/dwarf-2 output" { > setup_xfail_format "dwarf-2" > fail ... > } > -re "flaky gcc 3.x/stabs+ output" { > setup_xfail_format "stabs+" > fail ... > } > -re ".*" { > fail ... > } > } > > You can also dynamically poke at the executable to see what gcc compiled > it. See "probe_demangler" in gdb.c++/cplusfuncs.exp for one way to do it. > > Michael C > -- Fernando Nasser Red Hat - Toronto E-Mail: fnasser@redhat.com 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9