From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id kKEjN+eMtmR3GSYAWB0awg (envelope-from ) for ; Tue, 18 Jul 2023 09:00:23 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=J4VBOt8G; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id DD65F1E0BD; Tue, 18 Jul 2023 09:00:23 -0400 (EDT) Received: from server2.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 C2FD31E00F for ; Tue, 18 Jul 2023 09:00:21 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C84863857019 for ; Tue, 18 Jul 2023 13:00:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C84863857019 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689685220; bh=T1Dqud626fhskXBXctALvvkaqHUENrGQLYMuKuth70A=; h=Date:To:Cc:In-Reply-To:Subject:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=J4VBOt8GtGg1jEjeh6vyJG1jyeh+/D5whEpmpjPKs9RB3621w0e/BUi9l6T+4lKfH ajevliujVXg9x1Aco4QLg2G5aZmKNrw0sq+maUnqx+ZuGNBQbLMdGaeSPVDY4aO7d4 F5nfffc5KW6TZwUbP24qWmaXX1lRjkI1I8m0h/GA= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 2041C38582B0 for ; Tue, 18 Jul 2023 13:00:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2041C38582B0 Received: from fencepost.gnu.org ([209.51.188.10]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qLkJ6-00028x-S5; Tue, 18 Jul 2023 09:00:00 -0400 Received: from [87.69.77.57] (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 1qLkJ6-0003uw-9k; Tue, 18 Jul 2023 09:00:00 -0400 Date: Tue, 18 Jul 2023 16:00:29 +0300 Message-Id: <837cqx74sy.fsf@gnu.org> To: Felix Willgerodt Cc: gdb-patches@sourceware.org, markus.t.metzger@intel.com, simark@simark.ca In-Reply-To: <20230718115637.3531-7-felix.willgerodt@intel.com> (message from Felix Willgerodt via Gdb-patches on Tue, 18 Jul 2023 13:56:33 +0200) Subject: Re: [PATCH v10 06/10] python: Add clear() to gdb.Record. References: <20230718115637.3531-1-felix.willgerodt@intel.com> <20230718115637.3531-7-felix.willgerodt@intel.com> X-Spam-Status: No, score=1.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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: , From: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > Date: Tue, 18 Jul 2023 13:56:33 +0200 > From: Felix Willgerodt via Gdb-patches > > This function allows to clear the trace data from python, forcing to > re-decode the trace for successive commands. > This will be used in future ptwrite patches, to trigger re-decoding when > the ptwrite filter changes. > > Reviewed-By: Eli Zaretskii > --- > gdb/NEWS | 3 +++ > gdb/doc/python.texi | 5 +++++ > gdb/python/py-record-btrace.c | 13 +++++++++++++ > gdb/python/py-record-btrace.h | 3 +++ > gdb/python/py-record.c | 16 ++++++++++++++++ > gdb/testsuite/gdb.python/py-record-btrace.exp | 4 ++++ > 6 files changed, 44 insertions(+) The NEWS part (which AFAIU is the only change in v10, documentation-wise) is OK. Thanks. Reviewed-By: Eli Zaretskii