From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id wr+KBaQydmC5QAAAWB0awg (envelope-from ) for ; Tue, 13 Apr 2021 20:09:08 -0400 Received: by simark.ca (Postfix, from userid 112) id 038F31F104; Tue, 13 Apr 2021 20:09:08 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.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 4C26C1E01F for ; Tue, 13 Apr 2021 20:09:07 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9C6FC3954452; Wed, 14 Apr 2021 00:09:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9C6FC3954452 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1618358946; bh=hmlxwc3z2c/neAuhnT+9GGaiHhsK9KF6NhP4MCSAu0g=; h=Subject:In-Reply-To:Date:References:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=o8OgrGNiFA/KVLdzpzSph3HWI710C0pmWfxxf1WLYTuCW1O9wnD3c9D9NCwzcVDB9 0pYpshQyj+fX8HQe+oHfdyumZQ8dt6kCHc/VhnBvud8vU8Uu1VErjXzfEl9Vvc8pc5 d55bimCrb65cWsFx78NhYzXMcBPz8judegxYcwNc= Received: from resqmta-po-08v.sys.comcast.net (resqmta-po-08v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:167]) by sourceware.org (Postfix) with ESMTPS id C510D3858012 for ; Wed, 14 Apr 2021 00:09:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C510D3858012 Received: from resomta-po-11v.sys.comcast.net ([96.114.154.235]) by resqmta-po-08v.sys.comcast.net with ESMTP id WSy6lxvtwArcZWT5alOK9k; Wed, 14 Apr 2021 00:09:02 +0000 Received: from pkoning.akdesign.com ([73.60.223.101]) by resomta-po-11v.sys.comcast.net with ESMTPSA id WT5Xlau5MMmGaWT5YlTm7D; Wed, 14 Apr 2021 00:09:02 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduledrudeltddgvdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurheptggguffhjgffgffkfhfvofesthhqmhdthhdtvdenucfhrhhomheprfgruhhlucfmohhnihhnghcuoehprghulhhkohhnihhnghestghomhgtrghsthdrnhgvtheqnecuggftrfgrthhtvghrnhepvddtveejueehhfeivdetffejueffheekgfduuedtvefffeekieejleefveeuhfegnecukfhppeejfedriedtrddvvdefrddutddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghlohepphhkohhnihhnghdrrghkuggvshhighhnrdgtohhmpdhinhgvthepjeefrdeitddrvddvfedruddtuddpmhgrihhlfhhrohhmpehprghulhhkohhnihhnghestghomhgtrghsthdrnhgvthdprhgtphhtthhopehjhhgssehfrhgvvggsshgurdhorhhgpdhrtghpthhtoheplhhsihigsehlrghntggvlhhothhsihigrdgtohhmpdhrtghpthhtohepghgusgdqphgrthgthhgvshesshhouhhrtggvfigrrhgvrdhorhhg X-Xfinity-VMeta: sc=-100.00;st=legit Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: [PATCH 2/2] ptype: add option to use hexadecimal notation In-Reply-To: <8c431340-2115-c1f8-9568-620a175b35c9@FreeBSD.org> Date: Tue, 13 Apr 2021 20:08:58 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <6B65B8A7-546B-4BA3-8810-3494A1AF4278@comcast.net> References: <20201231125324.14779-1-lsix@lancelotsix.com> <20201231125324.14779-3-lsix@lancelotsix.com> <8c431340-2115-c1f8-9568-620a175b35c9@FreeBSD.org> To: John Baldwin X-Mailer: Apple Mail (2.3445.104.17) 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: Paul Koning via Gdb-patches Reply-To: Paul Koning Cc: Lancelot SIX , gdb-patches@sourceware.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" > On Apr 13, 2021, at 7:18 PM, John Baldwin wrote: >=20 > On 12/31/20 4:53 AM, Lancelot SIX via Gdb-patches wrote: >> This commit adds a flag to the ptype command in order to print the >> offsets and sizes of struct members using the hexadecimal notation. = The >> 'x' flag ensures use of the hexadecimal notation while the 'X' flag >> ensures use of the decimal notation. The default is to use decimal >> notation. "X" for decimal is rather non-obvious. How about "d" instead? Usually = X means uppercase hexadecimal. paul