From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id XkVXJydKg2CbCAAAWB0awg (envelope-from ) for ; Fri, 23 Apr 2021 18:28:55 -0400 Received: by simark.ca (Postfix, from userid 112) id 8B5581F106; Fri, 23 Apr 2021 18:28:55 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id CE2741E783 for ; Fri, 23 Apr 2021 18:28:54 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 015A83947414; Fri, 23 Apr 2021 22:28:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 015A83947414 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1619216934; bh=le7o0SxeYX84Rmcphdmk7iuUcSe7Cm5jvFXnPONM4vc=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=O1D04YsikeNyGlhQQkpDhkSxmTPoeu5zSU6BDgst/dNV8JQQpUU4+LCWMlSAlVGGh iieeCqIJ55t7aFEIIld7jdnucXwCdKnh0bikNruzsEn90I1idWcWyGKQ516Xv2XVXp pvEXPm5trkzFFd+vaTzMd7v8Inda1IW/CmIrN+Fw= Received: from lndn.lancelotsix.com (vps-42846194.vps.ovh.net [IPv6:2001:41d0:801:2000::2400]) by sourceware.org (Postfix) with ESMTPS id 4C8693944803 for ; Fri, 23 Apr 2021 22:28:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4C8693944803 Received: from Plymouth.lan (unknown [IPv6:2a02:390:9086:0:5814:88b8:54d5:bdf9]) by lndn.lancelotsix.com (Postfix) with ESMTPSA id 7159E81826; Fri, 23 Apr 2021 22:28:48 +0000 (UTC) To: gdb-patches@sourceware.org Subject: [PATCH v3 0/2] Have ptype support hex display of offsets and sizes Date: Fri, 23 Apr 2021 23:28:36 +0100 Message-Id: <20210423222838.41119-1-lsix@lancelotsix.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.11 (lndn.lancelotsix.com [0.0.0.0]); Fri, 23 Apr 2021 22:28:48 +0000 (UTC) X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Lancelot SIX via Gdb-patches Reply-To: Lancelot SIX Cc: Lancelot SIX Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" Hi, Here is a updated version of the series. The first patch is unchanged from previous submission. Documentation and code style have been updated in the second patch of the series according to reviews. The second patch has also been updated to handle conflicts in gdb/testsuite/gdb.base/ptype-offsets.exp after the following patch landed in master: https://sourceware.org/pipermail/gdb-patches/2021-April/178016.html. Lancelot. Lancelot SIX (2): typeprint.h: reorder struct declaration [PR gdb/22640] ptype: add option to use hexadecimal notation gdb/NEWS | 12 + gdb/c-typeprint.c | 8 +- gdb/doc/gdb.texinfo | 113 +++-- gdb/rust-lang.c | 2 +- gdb/testsuite/gdb.base/ptype-offsets.exp | 562 ++++++++++++++--------- gdb/testsuite/gdb.rust/simple.exp | 10 +- gdb/testsuite/gdb.rust/union.exp | 10 +- gdb/typeprint.c | 83 +++- gdb/typeprint.h | 69 +-- 9 files changed, 544 insertions(+), 325 deletions(-) -- 2.31.1