From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 2J4HOxua5GpgLRQAWB0awg (envelope-from ) for ; Fri, 30 Oct 2026 09:22:35 -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=ff657zLN; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id DFAEA378002; Fri, 30 Oct 2026 09:22:35 -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 4608E1E023 for ; Fri, 30 Oct 2026 09:22:35 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C8E084BA79B5 for ; Fri, 30 Oct 2026 13:22:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C8E084BA79B5 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=ff657zLN Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id 765E64BA79AF for ; Fri, 30 Oct 2026 13:20:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 765E64BA79AF 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 765E64BA79AF Authentication-Results: sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1793366419; cv=none; b=UJ8irzSNdgY551IKpfIWSJBz5jgRgleRVta8yhKXjnsApgxU5HIkaDnTNbe4yMLNhRcM9Ll5MuxI7KaGjrzrTqSbwh+NmcEywpcd2oCMuqWzfWKmQXyVFvBOeiIyNjWOlgJ4iYnXbVLFKGSZd9Ci51LMAEkQmeZo//B+667OGYQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1793366419; c=relaxed/simple; bh=8nECoyI+h2CHSrdTQ/4k5rkl0dnvZCpquTfzQz1Hhjg=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=Wlf2tk2lyj3SL1FswBIaV10Lg1xqT3Ny9KFqyqzKOJ/kvhr5b5Hd7t48lqTB9nnPxdYjEsDXyAZluW3m5oqjsGZ0auiSxIMj3DQrmd6YiA1xJ2QyXVl+QC8OQHf5QQiIJ+cMs6j/0jUjIDIGvNW6AMa32gvZw6A42YIqOrolhNI= 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=ff657zLN DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 765E64BA79AF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1793366418; 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=qDspKGMBtIyh1vkUDuW0h/0Ogo+bKNyMOEBXW9BlJGc=; b=ff657zLNvKPeu1cQ5uwLqNx16lC3r1gOnIMhYXvFbSbzG23b3z3GRrOVmYL869WZCnVxKV hPuTh5XCfzFiX8bedvuIpgU8CvwkAj4HwVUX9aibsoIl8Ip1s0jG3P2QgoWhtU8Soppgep WmoeMlmo2daI0AkSXEyRe6hm7C8cU4w= Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-235-g67hcBdCNw23gax20pblLg-1; Fri, 30 Oct 2026 09:20:17 -0400 X-MC-Unique: g67hcBdCNw23gax20pblLg-1 X-Mimecast-MFC-AGG-ID: g67hcBdCNw23gax20pblLg_1793366416 Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-3ada8bc8575so1523672a91.3 for ; Fri, 30 Oct 2026 06:20:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793366416; x=1793971216; 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=qDspKGMBtIyh1vkUDuW0h/0Ogo+bKNyMOEBXW9BlJGc=; b=BbMXfMAHnNbVXbTK1lsmna2VqKE+MeLIQmKjyt1m0/A/LJxgHl3Rv31BcFII36aHws ihliHzsZG2fCNiSKEATBZnMoUzf3pyDv+impUZJdE0pUZoN8wUC2GtwNmlcWIk4yQotw cLhtdbmHp0Vy5tSAw11LrmGHSa9PiGC9CxGFDeu8PreLlZwutUkS4RA04c3wgFCbvVDS fJdeNRMaZXMn/TX/J2ZgSG3v9ycmEPhIWkJZn4lHn6ucLESh8eQJ7DXvWF/qCPdfEpax 1xa21QXZVJIFWJ2w1QHG9sg66kSS2h1zv9aNSIf9T5Vu70I5YQLnHUMu8KNnSctHK7BA JYdQ== X-Gm-Message-State: AFq9FYLKw0Do1sLCRrqVFEMapUBKxgJgO8AknfwZnKoRtiPdrG3aHMqM C3ArFTF2bvh2zvIh9aWaH+ux3axz5/H8Q/LnEwK7sXChR81v1xqwgfPZutOpH5QhtbLZjW7r7LB RF2ve8NMV79G1X3ujHUVQE4+9U8mrdV/fxZgS9wolMhUr78uVBuVhYHDS/I/AR+BYS1AqKSU= X-Gm-Gg: AYBFou1sWYtN6sCZWAXWGDF7odKu9m3l3DPEmVrYNHl7rhAeoD8ehVusCsKYeT6EIBh xp89YBc4NBcsUBd3bWIlzeDV1koMmBWFg6jhUqE/aeyueIYcm3SVvklEIThvfefl3xSgK1p6TRY shTiAmcfp0oBuu/fmG/cDjY4NLmie4IVUUmbzq+re/CcEq2IHjiawpLZoj1AN6EdZJhcuotIAx8 v0f77RzEZ3YMhbUDPgi0t7yB/uAZp7RC17VvVu9TyPvySHnBnAaLh8R0mL0qDfF+2D9dErqtJGq C+PUFqvRbrHv/sUgwn+cs25rtJIfy4kYD13cw3c7pne6W//EQ5dZP27Hgqka69BHAGFm3Ci8I44 y1SCkf01jHMv5XRtGpDLj147NDD0L/ybv4iOoiXa2EoLFv33HbiHdZGckvEbF04gpvTkKchiOxw 42g00CnQ0KuCVuiPaCcnvpLQ== X-Received: by 2002:a17:90b:4c81:b0:3ab:188b:c5bf with SMTP id 98e67ed59e1d1-3ae897c85e6mr1864495a91.18.1793366416184; Fri, 30 Oct 2026 06:20:16 -0700 (PDT) X-Received: by 2002:a17:90b:4c81:b0:3ab:188b:c5bf with SMTP id 98e67ed59e1d1-3ae897c85e6mr1864467a91.18.1793366415700; Fri, 30 Oct 2026 06:20:15 -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 98e67ed59e1d1-3ae6e98afe3sm8560664a91.12.2026.10.30.06.20.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Oct 2026 06:20:15 -0700 (PDT) Message-ID: <5c190503-1f1e-477f-b20c-b1e273f821e6@redhat.com> Date: Fri, 30 Oct 2026 10:20:12 -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> From: Guinevere Larsen In-Reply-To: <86bj8buzlt.fsf@gnu.org> X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: N4rNEqLhWqS574J9otSDu_RxrX_f8NJWXZWu1IOIEBg_1793366416 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 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? -- Cheers, Guinevere Larsen it/its she/her (deprecated)