From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16063 invoked by alias); 26 Jan 2012 09:18:56 -0000 Received: (qmail 16054 invoked by uid 22791); 26 Jan 2012 09:18:55 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: sourceware.org Received: from smtp2-v.fe.bosch.de (HELO smtp2-v.fe.bosch.de) (139.15.237.6) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 26 Jan 2012 09:18:42 +0000 Received: from vsmta13.fe.internet.bosch.com (unknown [10.4.98.30]) by imta24.fe.bosch.de (Postfix) with ESMTP id 63619B3B87E4 for ; Thu, 26 Jan 2012 10:18:17 +0100 (CET) Received: from localhost (vsgw3.fe.internet.bosch.com [10.4.98.16]) by vsmta13.fe.internet.bosch.com (Postfix) with SMTP id EB2C95CA0806 for ; Thu, 26 Jan 2012 10:18:40 +0100 (CET) Received: from SI-MBX09.de.bosch.com ([10.3.153.45]) by fe-hub02.de.bosch.com ([10.3.144.91]) with mapi; Thu, 26 Jan 2012 10:18:37 +0100 From: "Leutwein Tobias (BEG-PT/ESB1)" To: "gdb-patches@sourceware.org" Date: Thu, 26 Jan 2012 10:15:00 -0000 Subject: AW: [RFC, patch] ptype bitfields show bitpos and bitsize Message-ID: <1606F039DD6642449BF6D1519D43AF62161994A2A6@SI-MBX09.de.bosch.com> References: <1606F039DD6642449BF6D1519D43AF6216198E7EA6@SI-MBX09.de.bosch.com> <20120125112233.GA18042@host2.jankratochvil.net> In-Reply-To: <20120125112233.GA18042@host2.jankratochvil.net> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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/msg00892.txt.bz2 After running the testsuite I saw that (gdb) ptype int returns Attempt to use a type name as an expression instead of type =3D int The change at eval.c leads to this change of the behaviour. So I have to make some changes to the patch. If it's possible, I also want = to move the content of the c_type_print_base_through_value function to the = c_type_print_base function. I think end of next week I will have the changes. > -----Urspr=FCngliche Nachricht----- > Von: Jan Kratochvil [mailto:jan.kratochvil@redhat.com] > Gesendet: Mittwoch, 25. Januar 2012 12:23 > An: Leutwein Tobias (BEG-PT/ESB1) > Cc: gdb-patches@sourceware.org > Betreff: Re: [RFC, patch] ptype bitfields show bitpos and bitsize > > On Wed, 25 Jan 2012 12:17:48 +0100, Leutwein Tobias (BEG-PT/ESB1) > wrote: > > I have made some changes to the GDB sources to get more information's > about > > bitfield variables through the ptype command. > > That's great. Just please read gdb/CONTRIBUTE, missing at least FSF > ChangeLog > and such change also needs to be convered in gdb/testsuite/. > > > Thanks, > Jan