From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 3wUvCZww0l9aQQAAWB0awg (envelope-from ) for ; Thu, 10 Dec 2020 09:28:44 -0500 Received: by simark.ca (Postfix, from userid 112) id 1928C1F0A9; Thu, 10 Dec 2020 09:28:44 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_NONE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (unknown [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 9BA871E590 for ; Thu, 10 Dec 2020 09:28:43 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5D8DA383F877; Thu, 10 Dec 2020 14:28:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5D8DA383F877 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1607610522; bh=eu8mV92ybrEx4+h/y1u5QYU+/tdxCut3STrIg0eFLXY=; h=Date:To:In-Reply-To:Subject:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=CAcoO1S1bFCeTpX3TjdNYnQtColo4pt89278uY/9WssB56nilp0LuPJStH2p7Rhkh M6E0VX4loBPB9FIXkktRtqLDQjDw43uVU5hmvZ+owf5yopOMohNj27NVAi9K3BvSbO F+OPZBUr851GwNc4ipykz9YGIpuOkLauSZGXr6zA= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 03CD03870858 for ; Thu, 10 Dec 2020 14:28:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 03CD03870858 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41422) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knMvr-00084d-4D; Thu, 10 Dec 2020 09:28:35 -0500 Received: from [176.228.60.248] (port=3202 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1knMvn-0005jR-AG; Thu, 10 Dec 2020 09:28:32 -0500 Date: Thu, 10 Dec 2020 16:28:10 +0200 Message-Id: <83h7ot4txh.fsf@gnu.org> To: Enze Li In-Reply-To: (message from Enze Li via Gdb-patches on Thu, 10 Dec 2020 22:15:15 +0800) Subject: Re: [PATCH v2] Add new 'print nibbles' feature References: 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: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" > Date: Thu, 10 Dec 2020 22:15:15 +0800 > From: Enze Li via Gdb-patches > > gdb/doc/ChangeLog: > 2020-12-10 Enze Li > > * gdb.texinfo: Document 'print nibbles'. This should mention the node in which you made the chnanges (in parentheses, as if the node were a function). > +set print nibbles [on|off] > +show print nibbles > + This controls whether the 'print/t' command will display the binary > + value in groups, and each group has four bits. The default is 'off'. This is fine, but let's please mention the word "nibbles" in this. For example: show print nibbles This controls whether the 'print/t' command will display binary values in groups of four bits, known as "nibbles". The default is 'off'. > +@item -nibbles [@code{on}|@code{off}] > +Set whether to print binary values in groups of four bits. > +Related setting: @ref{set print nibbles}. Likewise here. > +@anchor{set print nibbles} > +@item set print nibbles > +@itemx set print nibbles on > +Print binary values in groups of four bits when using the print command of > +@value{GDBN} with the option @samp{/t}. For example, this is what it > +looks like with @code{set print nibbles on}: And here. Thanks.