From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12921 invoked by alias); 19 Sep 2010 23:02:24 -0000 Received: (qmail 12913 invoked by uid 22791); 19 Sep 2010 23:02:24 -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; Sun, 19 Sep 2010 23:02:20 +0000 Received: (qmail 4992 invoked from network); 19 Sep 2010 23:02:18 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 19 Sep 2010 23:02:18 -0000 Date: Mon, 20 Sep 2010 10:04:00 -0000 From: Daniel Jacobowitz To: Paul Bolle Cc: Joel Brobecker , gdb-patches@sourceware.org Subject: Re: [PATCH] [RFC] python: gdb.Type: strip typedefs past pointers too Message-ID: <20100919230214.GZ28036@caradoc.them.org> References: <1284753356.21566.10.camel@localhost.localdomain> <20100918141253.GM3845@adacore.com> <1284841648.1857.12.camel@localhost.localdomain> <20100919175644.GA24247@caradoc.them.org> <1284929649.1857.19.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1284929649.1857.19.camel@localhost.localdomain> 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/msg00336.txt.bz2 On Sun, Sep 19, 2010 at 10:54:08PM +0200, Paul Bolle wrote: > On Sun, 2010-09-19 at 13:56 -0400, Daniel Jacobowitz wrote: > > I'm surprised by the CLI example you gave; I kind of consider that a > > bug too... > > I'm afraid it's unclear to me which of the examples you're referring to > here (and thus how that example could be considered a bug). I would not have expected "ptype wchar_t *" to product "int *". -- Daniel Jacobowitz CodeSourcery