From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id qh3yJG/vbl+wOQAAWB0awg (envelope-from ) for ; Sat, 26 Sep 2020 03:36:15 -0400 Received: by simark.ca (Postfix, from userid 112) id 72DAE1E599; Sat, 26 Sep 2020 03:36:15 -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.9 required=5.0 tests=DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,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 930C11E599 for ; Sat, 26 Sep 2020 03:36:12 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1BA453857023; Sat, 26 Sep 2020 07:36:12 +0000 (GMT) Received: from sender2-op-o12.zoho.com.cn (sender2-op-o12.zoho.com.cn [163.53.93.243]) by sourceware.org (Postfix) with ESMTPS id 927DE3857C61 for ; Sat, 26 Sep 2020 07:36:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 927DE3857C61 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=euphon.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=fam@euphon.net ARC-Seal: i=1; a=rsa-sha256; t=1601105758; cv=none; d=zoho.com.cn; s=zohoarc; b=TTflq1NVu7VeBaJs3WGR76vDfMhLmSmaWx8etR/TOru5aybRn8QBJOKDPEGZiexIRDnhVTDeLp2QAxfYB2PXxQWGBtvTH+MQVi4v5WE7KDPaan/WlAQvuxWrcG09/L0BSbdrF7DFykfE4meSbiHHfShVXJL99VwpblO6SxFY/pA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com.cn; s=zohoarc; t=1601105758; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=rZxSYo5CDE/l3SBJ0gOSu4uQKBIBuklqgvnd7uRxRgw=; b=TYK64PdifAO+Es2DS+SYxjsIlen7sk86ircGYJcu0ZPTRZk+GJZZaZ/ELHridG1V8CrQS1yaxfHbBieF6894Un2Xf7KXKObI6IvIsVBrnBOz7usxc661gqCoc28iY1PEGCbTemQHthsat+RmH8MyGDLBdhoe6An8D9IbnU/jr/8= ARC-Authentication-Results: i=1; mx.zoho.com.cn; dkim=pass header.i=euphon.net; spf=pass smtp.mailfrom=fam@euphon.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1601105758; s=zoho; d=euphon.net; i=fam@euphon.net; h=From:To:Cc:Message-ID:Subject:Date:MIME-Version:Content-Transfer-Encoding:Content-Type; bh=rZxSYo5CDE/l3SBJ0gOSu4uQKBIBuklqgvnd7uRxRgw=; b=W8o9RCIxVamJ43J36WogTmq8ZFk0ig62RtAfDHWBWBQZ5dnMSyLTDeRBLU+RhOnJ hNQGTj1W1IekOsV7B/vh04s40Xlfcpx5Cc8qbImyJ0aYFxLqjoO2gA2d63x5AaKqRLJ UQO98YPbDlDd0Qfgi2T/Trkpd/RL0IwZbtgp3U9c= Received: from localhost (ec2-52-56-101-76.eu-west-2.compute.amazonaws.com [52.56.101.76]) by mx.zoho.com.cn with SMTPS id 1601105755429738.6374684739715; Sat, 26 Sep 2020 15:35:55 +0800 (CST) From: fam@euphon.net To: gdb-patches@sourceware.org Message-ID: <20200926073539.981936-1-fam@euphon.net> Subject: [PATCH v6 0/3] disass: Add /x modifier Date: Sat, 26 Sep 2020 08:35:36 +0100 X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoCNMailClient: External Content-Type: text/plain; charset=utf8 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: , Cc: fam@euphon.net, Andreas Schwab , Simon Marchi Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" From: Fam Zheng v6: Add texinfo section name in ChangeLog. [Eli] v5: Add function names in ChangeLog. [Eli] v4: Add ChangeLog entries. [Eli] v3: Add a test, more doc, and drop tmp buffer. [Andreas, Simon, Pedro] This is a new modifier for disass command, to print offsets in hex. This reduces pain for low level debugging (Linux kernel, Xen, etc.) when the backtraces from dmesg are in hex - no manual converting needed to do a cros= s matching when looking at both sides at the same time. Fam Zheng (3): disass: Add /x modifier to print offsets in hex disass: Add test for /x mode disass: Add texinfo doc for the /x modifier gdb/NEWS | 3 ++ gdb/cli/cli-cmds.c | 17 +++++++---- gdb/disasm.c | 5 +++- gdb/disasm.h | 1 + gdb/doc/gdb.texinfo | 38 +++++++++++++++++++------ gdb/record.c | 3 ++ gdb/testsuite/gdb.base/disasm-optim.exp | 7 +++++ 7 files changed, 59 insertions(+), 15 deletions(-) --=20 2.25.1