From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5951 invoked by alias); 29 Aug 2007 20:23:48 -0000 Received: (qmail 5942 invoked by uid 22791); 29 Aug 2007 20:23:47 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 29 Aug 2007 20:23:41 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 5857798153; Wed, 29 Aug 2007 20:23:42 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 287D298101; Wed, 29 Aug 2007 20:23:42 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IQU4h-0003sM-Bj; Wed, 29 Aug 2007 16:23:39 -0400 Date: Wed, 29 Aug 2007 20:23:00 -0000 From: Daniel Jacobowitz To: Carlos Eduardo Seo Cc: Joel Brobecker , Luis Machado , gdb-patches@sourceware.org Subject: Re: [patch] ptype: show members of an unnamed struct inside an union Message-ID: <20070829202339.GA14859@caradoc.them.org> Mail-Followup-To: Carlos Eduardo Seo , Joel Brobecker , Luis Machado , gdb-patches@sourceware.org References: <20070828200356.GA3795@adacore.com> <46D4818C.1030001@linux.vnet.ibm.com> <20070828203420.GB3795@adacore.com> <20070829025618.GA26311@caradoc.them.org> <20070829043633.GD3795@adacore.com> <20070829163021.GA32337@caradoc.them.org> <20070829183215.GF3795@adacore.com> <20070829183643.GA9026@caradoc.them.org> <20070829184824.GG3795@adacore.com> <46D5D3AE.4010209@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46D5D3AE.4010209@linux.vnet.ibm.com> User-Agent: Mutt/1.5.15 (2007-04-09) 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/msg00524.txt.bz2 On Wed, Aug 29, 2007 at 05:14:38PM -0300, Carlos Eduardo Seo wrote: > I believe this simple fix addresses the issue. It also fixes one thing > that was wrong with the previous patch: GDB was showing "{...}" when a > struct had no members, instead of . > > What do you think? This isn't the same as what we were talking about. This is when the type has no name; an anonymous union is when the field has no name. This might be a good idea too - I'm not decided on that... -- Daniel Jacobowitz CodeSourcery