From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88547 invoked by alias); 13 Dec 2017 03:17:29 -0000 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 Received: (qmail 87958 invoked by uid 89); 13 Dec 2017 03:17:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 13 Dec 2017 03:17:27 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A9CE0883BA; Wed, 13 Dec 2017 03:17:26 +0000 (UTC) Received: from psique.yyz.redhat.com (unused-10-15-17-193.yyz.redhat.com [10.15.17.193]) by smtp.corp.redhat.com (Postfix) with ESMTP id E9AAA5D720; Wed, 13 Dec 2017 03:17:25 +0000 (UTC) From: Sergio Durigan Junior To: GDB Patches Cc: Tom Tromey , Eli Zaretskii , Simon Marchi , Pedro Alves , Keith Seitz Subject: [PATCH v5 0/2] Implement pahole-like 'ptype /o' option (and do some code reorg) Date: Wed, 13 Dec 2017 03:17:00 -0000 Message-Id: <20171213031724.22721-1-sergiodj@redhat.com> In-Reply-To: <20171121160709.23248-1-sergiodj@redhat.com> References: <20171121160709.23248-1-sergiodj@redhat.com> X-IsSubscribed: yes X-SW-Source: 2017-12/txt/msg00291.txt.bz2 Changes from v4: - Fixed issue with printing bitfield offsets. Big thanks to Pedro for the help with figuring this out. - Expanded testcase to cover the bitfield offset test. - Fixed @command/@kbd on documentation. - Greatly expanded documentation to explain more about various types of output that the command generates. - Added a marker for /* vtable */ fields. I honestly thought this patch was not going to be ready today. It's now apparently printing the offsets (and remaining bits) of bitfields correctly, at least as far I have tested. Eli, I think you need to review the docs once again because I included a great deal of information about the format printed by the command. Thanks.