From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id V2gFEtWA5GoWkRMAWB0awg (envelope-from ) for ; Fri, 30 Oct 2026 07:34:45 -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=LYo7i/r1; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 30228378002; Fri, 30 Oct 2026 07:34:45 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.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,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.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 820141E023 for ; Fri, 30 Oct 2026 07:34:44 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F16F04BA9016 for ; Fri, 30 Oct 2026 11:34:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F16F04BA9016 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=LYo7i/r1 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 AEAC94BA79A8 for ; Fri, 30 Oct 2026 11:34:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AEAC94BA79A8 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 AEAC94BA79A8 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=1793360057; cv=none; b=tnxmXAIEJs6p5Jvox2SBEHpAlnArhz1jyQJUKpx1p7iPcfO+91FYo4kAYZjDURB9n3VSZ56X8I+gHj5OrEpunZQWk7YMRQPEVdJdJyg2xF29BpFeBp2HLK7nyTrnjnLDwupbCJuwFp9x+5qS8WBgtNMtxK1Zn7oexo/LQImKESQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1793360057; c=relaxed/simple; bh=Q8/3nuaEr86R4baz3ueS82KmHo9XfKqSuRVNHzLv6KY=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=Fq3o0r2to/+dD4is7NWVu6dBnLO2wYposYz6a1L+H2V8GIEl6Utmd8UiQY1fGZjM7KJE89FJ0C3Yo1htmDz7CluMPFwR8gtCQ7J5lNWhHEyrY7hClwoaI0BGeZP7szVmqHNkwpR4qqqx8RlR6+arkMbipS5OfEbF4mVrCf8BN50= 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=LYo7i/r1 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AEAC94BA79A8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1793360055; 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=12iVOPTUPqmM/QxktPqSwtAWu+bOrsiJqxUbMBDW3Hw=; b=LYo7i/r1EhuWSfWczfTGbTaKxPVuyXnkW4lDkNm2orRB6dvYU60vw/S0yIGr1xOedGEGs+ 0B0SvWBGjF5wtNu+k9CZhF4MERuUXqfnzy0GuvF60M/uaxJIk+efMasUpu6DUqEzcUCUp0 d4INeLtmzPstK59KcjjIq268UoksKnk= Received: from mail-dy1-f197.google.com (mail-dy1-f197.google.com [74.125.82.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-472-3FamfnZdN7uzP0KTw5inJg-1; Fri, 30 Oct 2026 07:33:01 -0400 X-MC-Unique: 3FamfnZdN7uzP0KTw5inJg-1 X-Mimecast-MFC-AGG-ID: 3FamfnZdN7uzP0KTw5inJg_1793359980 Received: by mail-dy1-f197.google.com with SMTP id 5a478bee46e88-36998507c13so1073495eec.0 for ; Fri, 30 Oct 2026 04:33:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793359980; x=1793964780; 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=12iVOPTUPqmM/QxktPqSwtAWu+bOrsiJqxUbMBDW3Hw=; b=lTlc7yMl6ZQZR9tDUYptSpW2M3iwjy128g3CyXV3PX6hgVWg4VDtdUeQjOILTuOT3S iXmSumMyzGVqxQpVRXCpHEo++JfRDLwbLGvQ60nRh+e3NoPb4/CS4Ipq9a+kqYdS+Nog Ugu7gC8rLnPwXio7jSSYmbCSmx1CJQL05Z0VO05pf2oexvjE+/L1oZxIOMTBAUiVllox EsSENPba6PclU+AdiziD1NaDW4iouT/9rXkRnIzKyxaNnN3tIX/WjuYhHo/EvIzi024y eNK0bz/kzTe1bwxcNGpPyFmcXakmNelH5vQzNdH5Vke/HL2A7EPjOrXsCUSxzGx/1ivT V4uQ== X-Gm-Message-State: AFq9FYJ83eUrv2D1Qw+RfyTakyxR87EMhzjM7p5K4j1ydwIcfh4c4wd5 o5DQ3s0s+wxu/eninWhb6noUzuUyuswDMBsfkdsXN14GNpVjkX/nYVvtVDTc7jMh3Y++7NWJ/DQ l9QvCRtQ58l0brjXVfZyqwwHChxXEZCKQbJm91pUdf6RnDOlrOMwW/sUd9NuwzV5QoKAdVA0= X-Gm-Gg: AYBFou0Djyt569cXfRO4OrNGG5y1dRuXXUKVWLKCNDBeExN3Vv5SfEoBNjv3BVGPGND u2ycfqosEN2N9Be5afff4YGQBwWYP/hSISpVpkGjfeTcosKaM+qR/PiW9Y/UTO6iAgMUbzEA2Jf kGMMtKLW/i5ZNwo7BegTBCPhSjPyGltVHeAgyprw5D+4+AFq+J2+DHU2kK2yssqoFn27g2F1wdy LKLnL+Iwiio7qP3UOAwjUEebckYnC3S5stidO719SLmArVZ9HbvnHB7MczqjHS/vCvZo46xPOzn Zttaj4sON+2OH/QFCpWffcsjTbXiIboorHbzW+BCcQAJYm2dVMTOL0dfuO2lM2r6ykwGQMhlM+N 0oYP8LWK3dyieyQ0c1oLBHHW/7enjVIU6DWCpScRmnXLa8WQIOgNuB3SKUvbgDQFplnbD1Y+4zC Ro8UQa3+t8hNjF64jG55YM6g== X-Received: by 2002:a05:7300:5b89:b0:36a:1732:1e7 with SMTP id 5a478bee46e88-36a424c7b7dmr4725652eec.31.1793359979364; Fri, 30 Oct 2026 04:32:59 -0700 (PDT) X-Received: by 2002:a05:7300:5b89:b0:36a:1732:1e7 with SMTP id 5a478bee46e88-36a424c7b7dmr4725602eec.31.1793359978771; Fri, 30 Oct 2026 04:32:58 -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 5a478bee46e88-36a42952e1csm7721180eec.20.2026.10.30.04.32.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Oct 2026 04:32:58 -0700 (PDT) Message-ID: Date: Fri, 30 Oct 2026 08:32:55 -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> From: Guinevere Larsen In-Reply-To: <86wlqzvgcm.fsf@gnu.org> X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: g41Py1dVP7idirJ-P32qrfT1f4igBEJdyrcuboVImI4_1793359980 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 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. -- Cheers, Guinevere Larsen it/its she/her (deprecated) > > Thanks. > > Reviewed-By: Eli Zaretskii