From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32288 invoked by alias); 9 Sep 2010 20:32:27 -0000 Received: (qmail 32279 invoked by uid 22791); 9 Sep 2010 20:32:26 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Sep 2010 20:32:19 +0000 Received: (qmail 2623 invoked from network); 9 Sep 2010 20:32:18 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 9 Sep 2010 20:32:18 -0000 Date: Thu, 09 Sep 2010 23:32:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: [commit] Delay reading of struct members Message-ID: <20100909203214.GY28036@caradoc.them.org> References: <20100908192459.GH28036@caradoc.them.org> <20100908234233.GW28036@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-09/txt/msg00211.txt.bz2 On Thu, Sep 09, 2010 at 01:53:29PM -0600, Tom Tromey wrote: > >>>>> "Daniel" == Daniel Jacobowitz writes: > > Daniel> At the last minute I broke the test for RealView; just a cosmetic > Daniel> difference (something GCC doesn't support, but should). > > What is it that GCC should support? > > Daniel> * gdb.cp/templates.exp (test_template_args): Allow "struct". > > I looked at the .cc and your patch, but I don't understand what GCC > should do differently. > > Also, could you file a GCC enhancement request for whatever it is? > I would appreciate that. Well, I thought the difference was that the source code said "struct X { }", and GDB displayed "class X { }". Which was GCC PR 7081, fixed many moons ago. But it looks like it's the other way round; RealView was incorrectly displaying "struct X { }". Sorry for the confusion! -- Daniel Jacobowitz CodeSourcery