From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9939 invoked by alias); 25 Nov 2005 03:15:41 -0000 Received: (qmail 9927 invoked by uid 22791); 25 Nov 2005 03:15:40 -0000 X-Spam-Check-By: sourceware.org Received: from ausmtp04.au.ibm.com (HELO ausmtp04) (202.81.18.152) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 25 Nov 2005 03:15:39 +0000 Received: from sd0208e0.au.ibm.com (d23rh904.au.ibm.com [202.81.18.202]) by ausmtp04 (8.12.10/8.12.10) with ESMTP id jAP3FO9A317718; Fri, 25 Nov 2005 14:15:24 +1100 Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.250.237]) by sd0208e0.au.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP id jAP3ISSx158756; Fri, 25 Nov 2005 14:18:28 +1100 Received: from d23av04.au.ibm.com (loopback [127.0.0.1]) by d23av04.au.ibm.com (8.12.11/8.13.3) with ESMTP id jAP3FMtW000778; Fri, 25 Nov 2005 14:15:22 +1100 Received: from [9.181.133.252] ([9.181.133.252]) by d23av04.au.ibm.com (8.12.11/8.12.11) with ESMTP id jAP3FH3I000603; Fri, 25 Nov 2005 14:15:19 +1100 Date: Fri, 25 Nov 2005 04:21:00 -0000 From: Wu Zhou To: Daniel Jacobowitz cc: Mark Kettenis , brobecker@adacore.com, gdb@sources.redhat.com, gdb-testers@sources.redhat.com Subject: Re: First release candidate for GDB 6.4 available In-Reply-To: <20051125030852.GC20073@nevyn.them.org> Message-ID: References: <20051122083855.GH1635@adacore.com> <200511242233.jAOMXQmq024151@elgar.sibelius.xs4all.nl> <20051125030852.GC20073@nevyn.them.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00554.txt.bz2 On Thu, 24 Nov 2005, Daniel Jacobowitz wrote: > On Fri, Nov 25, 2005 at 10:53:50AM +0800, Wu Zhou wrote: > > > ... > > > > FAIL: gdb.cp/anon-union.exp: print w 1 > > > > FAIL: gdb.cp/anon-union.exp: print z 1 > > > > FAIL: gdb.cp/anon-union.exp: print w 2 > > > > FAIL: gdb.cp/anon-union.exp: print z 2 > > > > FAIL: gdb.cp/anon-union.exp: print w 3 > > > > FAIL: gdb.cp/anon-union.exp: print z 3 > > > > I guess that GDB don't know how to handle anonymous union yet. I ever saw > > these failures in a few platform. And also see them ok on others. The > > difference I find is that some version of gcc handle the anonymous union > > members as normal variables, others don't. > > I believe this was a bug in GCC 4.x, very recently fixed in CVS. Sorry. What is a bug, handle the anonymous union as normal variable, or don't? Regards - Wu Zhou