From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3417 invoked by alias); 24 Aug 2007 17:39:05 -0000 Received: (qmail 3225 invoked by uid 22791); 24 Aug 2007 17:39:03 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 24 Aug 2007 17:38:55 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 408B62AAAB4; Fri, 24 Aug 2007 13:38:53 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sd9Ysnfr+Mif; Fri, 24 Aug 2007 13:38:53 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 15DD92AAA3C; Fri, 24 Aug 2007 13:38:53 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 4D2F6E7B58; Fri, 24 Aug 2007 13:43:01 -0400 (EDT) Date: Fri, 24 Aug 2007 17:39:00 -0000 From: Joel Brobecker To: Carlos Eduardo Seo Cc: gdb-patches@sourceware.org Subject: Re: [patch] ptype: show members of an unnamed struct inside an union Message-ID: <20070824174301.GP7552@adacore.com> References: <46C4D20E.1010703@linux.vnet.ibm.com> <20070824155210.GN7552@adacore.com> <46CF00DB.6050100@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46CF00DB.6050100@linux.vnet.ibm.com> User-Agent: Mutt/1.4.2.2i 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/msg00464.txt.bz2 > Here's a testcase. In order to see the issue, do the following: Thanks, I'll use that to review your patch. But I meant a testcase that we could add to our testsuite (a .exp file, a .c file, etc)... It should be pretty straightforward to write one from the example you just provided. -- Joel