From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id CIjXLkh7x2CQSAAAWB0awg (envelope-from ) for ; Mon, 14 Jun 2021 11:52:40 -0400 Received: by simark.ca (Postfix, from userid 112) id BDA621F163; Mon, 14 Jun 2021 11:52:40 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,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 4193A1E54D for ; Mon, 14 Jun 2021 11:52:40 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 046653896809 for ; Mon, 14 Jun 2021 15:52:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 046653896809 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1623685960; bh=qVJ/+HkBs6yGzVT/ZSuyABPS9FcnRfyuwuKkABOuPo4=; 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=jZExttFtVAWbet2HatlDmeMxssDccAs/J6bbxVbL8FNjN0WGbGdIo2qiSpIs/gVvO Re1GrKGHAWcrEmULn07WFYLOiq4b4zt9GaJEJ6RhQgeLZEErbDBniUaRvhQDBc5Z0D qPbSPfwHB6mPde6z3sEPD8ZyMBy/PUyg00hYNcmY= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 0A0D0383D015 for ; Mon, 14 Jun 2021 15:52:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0A0D0383D015 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48874) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsosu-0007Xc-Lp; Mon, 14 Jun 2021 11:52:20 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4164 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 1lsosu-0002Ob-8H; Mon, 14 Jun 2021 11:52:20 -0400 Date: Mon, 14 Jun 2021 18:52:19 +0300 Message-Id: <83o8c85tqk.fsf@gnu.org> To: Felix Willgerodt In-Reply-To: <20210614145411.689277-2-felix.willgerodt@intel.com> (message from Felix Willgerodt via Gdb-patches on Mon, 14 Jun 2021 16:54:05 +0200) Subject: Re: [PATCH v2 06/12] python: Add clear() to gdb.Record. References: <20210614145411.689277-1-felix.willgerodt@intel.com> <20210614145411.689277-2-felix.willgerodt@intel.com> 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+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > Date: Mon, 14 Jun 2021 16:54:05 +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. > > gdb/ChangeLog: > 2021-06-14 Felix Willgerodt > > * py-record-btrace.c (recpy_bt_clear): New function. > * py-record-btrace.h (recpy_bt_clear): New export. > * py-record.c (recpy_clear): New function. > (recpy_record_methods): Add clear(). > > testsuite/ChangeLog: > 2021-06-14 Felix Willgerodt > > * gdb.python/py-record-btrace.exp: Add tests for clear(). > > gdb/doc/ChangeLog: > 2021-06-14 Felix Willgerodt > > * python.texi (gdb.Record): Document clear(). The documentation part is OK, thanks.