From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3722 invoked by alias); 10 Feb 2004 21:07:50 -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 3713 invoked from network); 10 Feb 2004 21:07:50 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 10 Feb 2004 21:07:50 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 474542B92 for ; Tue, 10 Feb 2004 16:07:50 -0500 (EST) Message-ID: <40294826.7080306@gnu.org> Date: Tue, 10 Feb 2004 21:07:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Test struct0 References: <40203797.8010607@gnu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-02/txt/msg00262.txt.bz2 > Hello, > > This adds a test for: > > struct foo0 { }; > > to the structs.exp testcase (I'm assuming that this is legal ISO-C), it passes on PPC with stabs with: > > (gdb) PASS: gdb.base/structs.exp: ptype foo1; structs-tc > p/c fun0() > $1 = {} > > Tt was intended for completness, however with a dwarf2 compiler: > > amd64$ gcc --version > gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-24) > > (gdb) PASS: gdb.base/structs.exp: ptype foo1; structs-tc > p/c fun0() > $1 = > > I guess I should file a bug report and kfail it? I'm dropping this patch - it isn't valid C. If someone want's to come up with a C++ equivalent, feel free. Andrew