From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id aaLXGGOe5GolTBQAWB0awg (envelope-from ) for ; Fri, 30 Oct 2026 09:40:51 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=g9bzk6SP; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 5A9E8378002; Fri, 30 Oct 2026 09:40:51 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id AC2671E023 for ; Fri, 30 Oct 2026 09:40:50 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CB9B64BA900B for ; Fri, 30 Oct 2026 13:40:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CB9B64BA900B Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=g9bzk6SP Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 941174BA2E3E for ; Fri, 30 Oct 2026 13:40:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 941174BA2E3E Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 941174BA2E3E Authentication-Results: sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1793367623; cv=none; b=LRPk0loN8n+k9H0SukKOOxvJBxmw5Iq9nHz9+3IONuUImz+YXaCQ5kSaPWnfd6L+WRDUKVvQTdHVrRw0MvDsGTmxvz4Oa6XAnYU0XSPW4WDXpT3EUvnlMTir9byz55PrLDXCbcm0oexY7a67VD1vqqsd/qSBP64R3oSdkSAYlkc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1793367623; c=relaxed/simple; bh=0VYNG3wpLN2RdXSaGgXBi1kqt0cIgrUf/TvgcQKtNgE=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=Vyc7u841kp0UMLpfZGnSTENJRy34xeiFxoWM/Q17lJ2ZYCf4+Qr1P5BCuY+VtOGbl2DDAQ6DxChowq1MU0GOLuiAnHPJrzBQBpKrLih0VJ/7qCEHDlayb5GOO7zPM+W9nu4ozFl+r1j52NT5ViJ4zrnpCyGx//XLP5XJZGomlXA= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=g9bzk6SP DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 941174BA2E3E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1793367622; 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=0IL1f7dT3EUEMl2YhL8InHSGSrPYx96lDGYVUZBPb/8=; b=g9bzk6SPFBFguZ/RsaukOrCXqzgEjboYNodgc1/jkpyxlIbWS91FnmJChu3nw682HY8A3B k0jS9A3rKDiKqboAPanFfxIZqmD+FZfyAA3fbWN6Xc1qJurAAcbEHwqUG0b0Ii5tUouA7c eYgStGxL9oMjUrnaPG3hT8DaFYA+ViY= Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-636-5BAHMyqmMXKDDYvYxAi2Yw-1; Fri, 30 Oct 2026 09:40:19 -0400 X-MC-Unique: 5BAHMyqmMXKDDYvYxAi2Yw-1 X-Mimecast-MFC-AGG-ID: 5BAHMyqmMXKDDYvYxAi2Yw_1793367619 Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-2e818ca61bfso8821065ad.2 for ; Fri, 30 Oct 2026 06:40:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793367618; x=1793972418; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=0IL1f7dT3EUEMl2YhL8InHSGSrPYx96lDGYVUZBPb/8=; b=Ht76iUyrRRUbhJXtkhH/90IsZGIKQnzGdgNbR1lNw3SXfeb+pBFdy08OAKPNu+0H9s wO6v5J1a/BaVI/W8xO1IvsP80vBKJ6eeBd4ig4bVejVmOH2XW0NkgKUI7ka2aNampm+D iqQfnDfwAvmRvWM//oOxaDOhtOGiK+W2tmhewvTK1gbbcya5XRxgJB7sJNnwGhm4iFsA Qy58z3YEVAJKszU3JUSyRl3kMYHA9aqbxR0mJNPTsByx2f/pDVvaR6C3ZMrOpOy1VeMu r2Mf+XfMKNmOhrqQNUgl4DpRUOqrfS5KZ4ssa4attWdnGatMFCl8oWFHB/Lg0sKGnUTv Iy6Q== X-Gm-Message-State: AFq9FYKkzc4Hs2zxNN9p1e2vl9a9bItJclex3Mwq+4bQ6m3uDbIDJ2qO 0I2NIHCmEYuawMWXV7Hmb8/i5aHvhcT+Paob3bKs0x2NCYnBxHXWRXwKSTvSjGLWhS7Uiy1niI4 s197rLATt2JBy9HHyWjHQtVhPbU+kHLifMPml3X1MnKKvuQRA1bwdLQburwXWRfhq3UzwWjo= X-Gm-Gg: AYBFou3qYG1auiTI2/IHoksNNvDW7C95ft+1NomdJA5l0usNZmNICPvL2NlC1oklvI4 q9Jq5MwlQuplNz1UopQbgIpFfvXHDYg2D9wWy+Z8Gam5WmVo9d5QCQyBKP2nchx+8Wu7G1veV/M LbBkoKwxRFAStiG/2hemTSQpMcBsre2blEywkPnsxewJ4+oECTC78FAfAsbk2tqiJeI2FMRxF8u 2Z/EMqlw6JG0dARD8/18kjPeROMuzM9qqm5ASxp9dxMW2cadnAVnvqPVqtoM3fuYS1FJD22L3lQ ewUhtqKkOsm2o0ZKAULw8bH0anTiuCDXos/Px3aY3LwqkNAVQsEFxhoWiH4lvDaeVXg6lb8lc11 nR2RH30IX2vjZbkx+MRP7dvlszVzVA3L3FWWW9MBIjXqngWZwsJrirwqdEcrCcBDL4L0czCUCkR VUwWjulTY18b5hTLEQ/CDIQw== X-Received: by 2002:a17:903:26cc:b0:2e9:8510:6acf with SMTP id d9443c01a7336-2eb372b1a56mr21687055ad.25.1793367618507; Fri, 30 Oct 2026 06:40:18 -0700 (PDT) X-Received: by 2002:a17:903:26cc:b0:2e9:8510:6acf with SMTP id d9443c01a7336-2eb372b1a56mr21686765ad.25.1793367617951; Fri, 30 Oct 2026 06:40:17 -0700 (PDT) Received: from ?IPV6:2804:14d:8084:993e:22e8:4ed1:527a:55c0? ([2804:14d:8084:993e:22e8:4ed1:527a:55c0]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2eb3922f542sm7047215ad.15.2026.10.30.06.40.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Oct 2026 06:40:17 -0700 (PDT) Message-ID: <7fa5aaf4-e7a6-44a8-a919-0c0535e48bf5@redhat.com> Date: Fri, 30 Oct 2026 10:40:14 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 7/7] gdb/record: document recording multi-threaded inferiors To: Eli Zaretskii Cc: gdb-patches@sourceware.org References: <20261029205743.1917668-1-guinevere@redhat.com> <20261029205743.1917668-8-guinevere@redhat.com> <86wlqzvgcm.fsf@gnu.org> <86bj8buzlt.fsf@gnu.org> <5c190503-1f1e-477f-b20c-b1e273f821e6@redhat.com> <86tsm3tikf.fsf@gnu.org> From: Guinevere Larsen In-Reply-To: <86tsm3tikf.fsf@gnu.org> X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Q9AeM0wbrDsvkL0OnS3cy9TbVRoo_iU0WVPrpZKWfG4_1793367619 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On 10/30/26 10:38 AM, Eli Zaretskii wrote: >> Date: Fri, 30 Oct 2026 10:20:12 -0300 >> Cc: gdb-patches@sourceware.org >> From: Guinevere Larsen >> >> >> On 10/30/26 9:44 AM, Eli Zaretskii wrote: >>>> Date: Fri, 30 Oct 2026 08:32:55 -0300 >>>> Cc: gdb-patches@sourceware.org >>>> From: Guinevere Larsen >>>> >>>> >>>> On 10/30/26 3:43 AM, Eli Zaretskii wrote: >>>>>> From: Guinevere Larsen >>>>>> Cc: Guinevere Larsen >>>>>> Date: Thu, 29 Oct 2026 17:57:43 -0300 >>>>>> >>>>>> This commit adds an entry to the NEWS file about the support for >>>>>> recording multi-threaded programs, as well as a quick explanation of >>>>>> supporting it and the limitations to the documentation. >>>>>> --- >>>>>> gdb/NEWS | 5 +++++ >>>>>> gdb/doc/gdb.texinfo | 9 ++++++++- >>>>>> 2 files changed, 13 insertions(+), 1 deletion(-) >>>>> This is okay, but I wonder why the manual doesn't mention the caveat >>>>> which NEWS spells out. Conversely, the manual mentions one more >>>>> caveat: "as of now GDB is unable to record the creation of new >>>>> threads", but NEWS doesn't. Should we make these two places convey >>>>> the same information? >>>> Both entries do say the same information, just in different ways. >>>> >>>> The NEWS does say that GDB can't record the creation of new threads, in >>>> here: >>>> + Additionally, no new threads may be created during the recording. >>>> >>>> And this entry in the NEWS: >>>> + First and most important, the scheduler locking must be set to "on", >>>> and the user must execute each thread individually >>>> Is equivalent to the following information in the documentation: >>>> + For multi-threaded inferiors, the user must perform the scheduling by >>>> hand, executing each thread manually for the desired amount of time >>>> before switching to a different thread >>>> >>>> This is what "scheduler-locking on" does, but spelled out in case a user >>>> isn't familiar with the workings of the command. If you think there's a >>>> clearer way to say it, I'm all ears, as I know my familiarity with the >>>> code makes it hard to estimate what is simple/obvious knowledge. >>> I suggest to say this in the same wording in both cases. I think the >>> NEWS wording is more clear in the former case and the manual's wording >>> is clear in the second case. >> That's fair. I took your suggestion and updated it locally. I'll refrain >> from sending a v2 with just this change, though. >> >> Are you ok with me adding your approval tag to this commit now, or would >> you prefer to see the patch before doing so? > No, you can consider it approved, thanks. Thank you! -- Cheers, Guinevere Larsen it/its she/her (deprecated)