From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 0A8033858289 for ; Tue, 2 May 2023 15:57:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0A8033858289 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683043056; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+DM/K9K+2f91zdkuevzNnQwMGxR/4yhGsPnW/Dl0WhM=; b=gwM4bHXkuXQPNzZS7fmaG4HxljTEyvaX5eX77ilox8+Nitj+ksvbsGhYXXLutCDtlymy8v hc5KjaRhcYPBs2XTaptNXi4xuNu3uG2blGXxPLSTPlt9PnIim4SWIaa9YZWu9DOIGE9lLs UYz9mS3eKgOx/o22PRCIOjMmJ8LzlAQ= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-650--nH-IQBmMTCkdeTCWj-owQ-1; Tue, 02 May 2023 11:57:33 -0400 X-MC-Unique: -nH-IQBmMTCkdeTCWj-owQ-1 Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-5efc80e8485so61753926d6.0 for ; Tue, 02 May 2023 08:57:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683043053; x=1685635053; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+DM/K9K+2f91zdkuevzNnQwMGxR/4yhGsPnW/Dl0WhM=; b=NU1Mc/xBEckLjuAya9TFx0CCa2/fUQYz7VokUX9G+kbNPHgqgWvirY2cMqaCM2kjdy Ijf/N7mKaLZkntjArLFzleTRxjhwJe5npGTjLjd2So8m7CA7TbZ+ISSQGfzSROGRfzeP PBSpjR1U06ExHEnyx0LmSB1Dmb7HEhwvm83kFdPSojKHCvk4dR5roPk/6K3Z9LcGx7/l UjBBcFDq9JXb10LRpP0Bnu2qSgVcrhi7d9/Wrphpbf6Ez/CSnACI7SwUkjuh4uMHlAEk QKnSI5Q4nimRS2ipIEi/O6yomY+XXF1I4rQVjZnXu5QUnZdgDgwnLNG4OM+PUEMWf9G7 E3CQ== X-Gm-Message-State: AC+VfDw2f20Sy92oN/JGEdQjkxrMYxgcrESEFdncitCjvjm6ZkE5MHxD 9ah7byNVFkEwGLJop+FK2jF2RUDLIxZi5nWO9Dn/9sqqOkoDW8grNlJ1uxu1RCARvc5wFciq2FC sS2SBhJJXULXho1bq6SEHuQ== X-Received: by 2002:a05:6214:20ef:b0:5df:47e2:8df5 with SMTP id 15-20020a05621420ef00b005df47e28df5mr6381210qvk.31.1683043052988; Tue, 02 May 2023 08:57:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6wUtPHcSKZ3Uhqhk7PNZk9pFgOxHnvl5rrtbncmb0pUZay2UrOv6EjxEwupARUfxbGkCPwpQ== X-Received: by 2002:a05:6214:20ef:b0:5df:47e2:8df5 with SMTP id 15-20020a05621420ef00b005df47e28df5mr6381189qvk.31.1683043052772; Tue, 02 May 2023 08:57:32 -0700 (PDT) Received: from [192.168.0.45] (ip-94-112-225-44.bb.vodafone.cz. [94.112.225.44]) by smtp.gmail.com with ESMTPSA id i29-20020a0cab5d000000b005f5a05448d8sm112305qvb.100.2023.05.02.08.57.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 May 2023 08:57:32 -0700 (PDT) Message-ID: <56722e64-d7fe-407a-145b-13118558ad7a@redhat.com> Date: Tue, 2 May 2023 17:57:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH] gdb/record-full: disable range stepping when resuming threads To: Tom Tromey , Bruno Larsen via Gdb-patches Cc: Simon Marchi References: <20230427185407.203300-1-simon.marchi@efficios.com> <87h6suvkr9.fsf@tromey.com> From: Bruno Larsen In-Reply-To: <87h6suvkr9.fsf@tromey.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no 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 02/05/2023 17:03, Tom Tromey wrote: >>>>>> "Bruno" == Bruno Larsen via Gdb-patches writes: > Bruno> For future improvement, I'm wondering: is gdbserver aware that the > Bruno> execution is being recorded at all? > > I don't think so, or at least, not for full record. (It seems to have > some btrace knowledge.) > > Bruno> That way it could record the > Bruno> execution by itself and once the stop is reported, it sends the > Bruno> recorded instructions (which I hope should be faster). I'm asking > Bruno> before adding it to my backlog, just in case it is very difficult to > Bruno> do. > > I guess at minimum it would require making it possible to build the > record machinery into gdbserver, and also adding the needed requests to > the remote protocol. Ah, that's unfortunate. I was hoping it would already bt there and this would've mostly been a protocol addition. Oh well... thanks for taking the time to answer :-) -- Cheers, Bruno > > Tom >