From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30493 invoked by alias); 12 Jan 2012 22:52:38 -0000 Received: (qmail 30484 invoked by uid 22791); 12 Jan 2012 22:52:38 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Jan 2012 22:52:20 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q0CMqJ9x021260 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 12 Jan 2012 17:52:19 -0500 Received: from valrhona.uglyboxes.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q0CMqHWp022286 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 12 Jan 2012 17:52:19 -0500 Message-ID: <4F0F6421.6070304@redhat.com> Date: Thu, 12 Jan 2012 23:05:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 MIME-Version: 1.0 To: "gdb-patches@sourceware.org ml" Subject: Re: [RFA] mi/10586 References: <4EBD93D9.2020006@redhat.com> <4EC157F6.1030503@redhat.com> <4EC16BD8.90309@redhat.com> <4EC29CF7.40204@redhat.com> <4ED95103.8030204@redhat.com> <4EEBD762.1010201@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2012-01/txt/msg00445.txt.bz2 On 12/20/2011 08:00 AM, Tom Tromey wrote: >>>>>> "Keith" == Keith Seitz writes: > > Keith> ChangeLog > Keith> 2011-12-16 Keith Seitz > > Keith> PR mi/10586 > Keith> * varobj.c (ANONYMOUS_STRUCT_NAME): Define. > Keith> (ANONYMOUS_UNION_NAME): Define. > Keith> (is_path_expr_parent): New function. > Keith> (get_path_expr_parent): New function. > Keith> (is_anonymous_child): New function. > Keith> (create_child_with_value): If the child is anonymous and without > Keith> a name, assign an object name to it. > Keith> (c_describe_child): Use get_path_expr_parent to determine > Keith> the parent expression. > Keith> If there field represents an anonymous struct or union and > Keith> has no name, set an appropriate display name and expression. > Keith> (cplus_describe_child): Likewise. > > Keith> testsuite/ChangeLog > Keith> 2011-12-16 Keith Seitz > > Keith> PR mi/10586 > Keith> * gdb.mi/var-cmd.c (struct anonymous): New structure. > Keith> (do_anonymous_type_tests): New function. > Keith> (main): Call do_anonymous_type_tests. > Keith> * gdb.mi/mi2-var-child.exp: Add anonymous type tests. > Keith> (verify_everything): New procedure. > Keith> * gdb.mi/mi-var-cp.cc (class A): New class. > Keith> (anonymous_structs_and_unions): New function. > Keith> (main): Call anonymous_structs_and_unions. > Keith> * gdb.mi/mi-var-cp.exp: Add anonymous type tests. > Keith> (verify_everything): New procedure. > > Ok. > Thanks. Now that the testsuite updates are checked in, I've double-checked this patch and committed it. Keith