From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id DD3583860C3E for ; Mon, 14 Jun 2021 15:46:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DD3583860C3E Received: from fencepost.gnu.org ([2001:470:142:3::e]:48444) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsomy-0003eE-Cb; Mon, 14 Jun 2021 11:46:12 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3787 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsomy-0001bQ-08; Mon, 14 Jun 2021 11:46:12 -0400 Date: Mon, 14 Jun 2021 18:46:08 +0300 Message-Id: <83tum05u0v.fsf@gnu.org> From: Eli Zaretskii To: Felix Willgerodt Cc: markus.t.metzger@intel.com, gdb-patches@sourceware.org In-Reply-To: <20210614145025.688566-3-felix.willgerodt@intel.com> (message from Felix Willgerodt via Gdb-patches on Mon, 14 Jun 2021 16:50:15 +0200) Subject: Re: [PATCH v2 02/12] btrace: Enable auxiliary instructions in record instruction-history. References: <20210614145025.688566-1-felix.willgerodt@intel.com> <20210614145025.688566-3-felix.willgerodt@intel.com> X-Spam-Status: No, score=2.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: , X-List-Received-Date: Mon, 14 Jun 2021 15:46:18 -0000 > Date: Mon, 14 Jun 2021 16:50:15 +0200 > From: Felix Willgerodt via Gdb-patches > > Print the auxiliary data when a btrace_insn of type BTRACE_INSN_AUX > is encountered in the instruction-history. Printing is active by default, > it can be silenced with the /a modifier. > > This patch is in preparation for the new ptwrite feature, which is based on > auxiliary instructions. > > gdb/ChangeLog: > 2021-06-14 Felix Willgerodt > > * record-btrace.c (btrace_insn_history): Handle BTRACE_INSN_AUX. > * record.c (get_insn_history_modifiers): Add /a modifier. > * disasm.h (gdb_disassembly_flag): Add DISASSEMBLY_OMIT_AUX_INSN. > > gdb/doc/ChangeLog: > 2021-06-14 Felix Willgerodt > > * gdb.texinfo (record instruction history): Document /a modifier. Thanks, the documentation part is OK.