From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id E4BA93858422 for ; Fri, 24 Mar 2023 14:36:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E4BA93858422 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca Received: from [172.16.42.115] (modemcable092.73-163-184.mc.videotron.ca [184.163.73.92]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 968FB1E0D3; Fri, 24 Mar 2023 10:36:45 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1679668605; bh=lU/HV/dmRr54lYhbOmyOWISxv/PFLhvE1z3qTGFnNlk=; h=Date:Subject:To:References:From:In-Reply-To:From; b=HmHvk084LdlFFCi6mIPjbevV3szWyxk2tEmIO8JMoZpTfvNcG/Y/t3BBTBPJRwMr4 E3q4Nl3X5DX1XOFIpxWwa8oX3MQDlF2AnoYv1BrAhARoohW8B5sbg0Dg18ePqMK9mN MsDZ8p49k9MbU80o6s8ihqNbTUIUXkxCdE2dIp5c= Message-ID: <4e73d75a-e1da-f9d5-fca9-c86e1c7db280@simark.ca> Date: Fri, 24 Mar 2023 10:36:45 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v8 06/10] python: Add clear() to gdb.Record. Content-Language: fr To: Felix Willgerodt , gdb-patches@sourceware.org References: <20230321154626.448816-1-felix.willgerodt@intel.com> <20230321154626.448816-7-felix.willgerodt@intel.com> From: Simon Marchi In-Reply-To: <20230321154626.448816-7-felix.willgerodt@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 3/21/23 11:46, Felix Willgerodt via Gdb-patches wrote: > This function allows to clear the trace data from python, forcing to > re-decode the trace for successive commands. Can you describe the use case for this? When would the data associated to a recording be stale and need to be re-decoded? Simon