From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28970 invoked by alias); 8 Sep 2010 23:42:42 -0000 Received: (qmail 28962 invoked by uid 22791); 8 Sep 2010 23:42:42 -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; Wed, 08 Sep 2010 23:42:37 +0000 Received: (qmail 22147 invoked from network); 8 Sep 2010 23:42:36 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 8 Sep 2010 23:42:36 -0000 Date: Thu, 09 Sep 2010 13:14:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: [commit] Delay reading of struct members Message-ID: <20100908234233.GW28036@caradoc.them.org> References: <20100908192459.GH28036@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100908192459.GH28036@caradoc.them.org> 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/msg00194.txt.bz2 On Wed, Sep 08, 2010 at 03:24:59PM -0400, Daniel Jacobowitz wrote: > I've tested this on x86_64-linux and arm-eabi, using GCC 4.4, GCC 4.5, > and RealView; I also tested it on hand-modified GCC output to trigger > the template argument support. No regressions; committed to HEAD. At the last minute I broke the test for RealView; just a cosmetic difference (something GCC doesn't support, but should). -- Daniel Jacobowitz CodeSourcery 2010-09-08 Daniel Jacobowitz * gdb.cp/templates.exp (test_template_args): Allow "struct". Index: gdb.cp/templates.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/templates.exp,v retrieving revision 1.27 diff -u -p -r1.27 templates.exp --- gdb.cp/templates.exp 8 Sep 2010 19:09:43 -0000 1.27 +++ gdb.cp/templates.exp 8 Sep 2010 23:41:09 -0000 @@ -200,10 +200,10 @@ proc test_template_args {} { set empty_re "Empty *\\)>" gdb_test "ptype empty" \ - "type = class $empty_re {.*.*}" + "type = (struct|class) $empty_re {.*.*}" gdb_test "ptype arg" \ - "type = class FunctionArg {.*int method\\($empty_re \\&\\);.*}" + "type = (struct|class) FunctionArg {.*int method\\($empty_re \\&\\);.*}" } proc do_tests {} {