From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14952 invoked by alias); 28 Aug 2007 19:03:23 -0000 Received: (qmail 14796 invoked by uid 22791); 28 Aug 2007 19:03:22 -0000 X-Spam-Check-By: sourceware.org Received: from igw1.br.ibm.com (HELO igw1.br.ibm.com) (32.104.18.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 28 Aug 2007 19:03:11 +0000 Received: from mailhub1.br.ibm.com (mailhub1 [9.18.232.109]) by igw1.br.ibm.com (Postfix) with ESMTP id B890114802E for ; Tue, 28 Aug 2007 15:45:51 -0300 (BRT) Received: from d24av02.br.ibm.com (d24av02.br.ibm.com [9.18.232.47]) by mailhub1.br.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id l7SJ33fA1445918 for ; Tue, 28 Aug 2007 16:03:07 -0300 Received: from d24av02.br.ibm.com (loopback [127.0.0.1]) by d24av02.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l7SJ31cG028129 for ; Tue, 28 Aug 2007 16:03:01 -0300 Received: from [127.0.0.1] ([9.12.240.17]) by d24av02.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l7SJ2lHH027589; Tue, 28 Aug 2007 16:02:58 -0300 Message-ID: <46D47155.5000403@linux.vnet.ibm.com> Date: Tue, 28 Aug 2007 19:03:00 -0000 From: Luis Machado User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Joel Brobecker CC: Carlos Eduardo Seo , gdb-patches@sourceware.org Subject: Re: [patch] ptype: show members of an unnamed struct inside an union References: <46C4D20E.1010703@linux.vnet.ibm.com> <20070828171422.GB3874@adacore.com> In-Reply-To: <20070828171422.GB3874@adacore.com> 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: 2007-08/txt/msg00499.txt.bz2 Joel Brobecker wrote: > Similarly in your example: > > (gdb) ptype mypage.u > type = union { > struct { > int mapping; > }; > } Are you considering a named Union structure here? I could not reproduce this locally, since there's no such member "u" in the data structure. Regards, Luis