From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id HQmeKczKQWn2XAQAWB0awg (envelope-from ) for ; Tue, 16 Dec 2025 16:10:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1765919436; bh=IlrH8FreYoi+7PbeAtgn0AOzrl26QfFKJDauA73gbqA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=bjY6+wyIcXRF2nFl+tfOmdJI1TS6fWcxkeOQST900KaCIHTesz+TvYBgnSMQY7qij WYn/EecF9pYVizRYKkpBBLSlOfAgEUMTVL2zvmV4l2n5tO4HwG3KdAkNjfHXe5WQO2 DjutMuu2CrULODPPzUrYVDbDECC4AV2XV8gMg6O8= Received: by simark.ca (Postfix, from userid 112) id 84DFE1E0BC; Tue, 16 Dec 2025 16:10:36 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, 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 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=kwM92qoK; dkim-atps=neutral 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 DF00C1E048 for ; Tue, 16 Dec 2025 16:10:35 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 57B804BA2E22 for ; Tue, 16 Dec 2025 21:10:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 57B804BA2E22 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=kwM92qoK Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 0208E4BA2E04 for ; Tue, 16 Dec 2025 21:10:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0208E4BA2E04 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0208E4BA2E04 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765919406; cv=none; b=puqJCprP4+ux6zIW6L79x1LZbaUrPawIqdcFOhxgR8YToqPgSi/aNSml+saSk+vHbg/3lGMA94iM6F/ZSTMTSGLcVvyf7l3Bkzx4bed0yFN8xCmnAuW5Gp6awrpwUUmAmgY276Fzf9GdRkkW82QaLCQTrfCtm4qbUmx+hJR61gU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765919406; c=relaxed/simple; bh=IlrH8FreYoi+7PbeAtgn0AOzrl26QfFKJDauA73gbqA=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=cMvXF2b+zzrRRTBE9YAX5tLcBvAltuIYe6kbQk8PRAOjbPZqPuAnJwI3YwhnxP9+YqWgsF8vKQOetyX6YnLa1SK6j0v/inSe/xwnJRg42yp4IgwIJmbYd2AS+zuGJ7Y/O/CSiRmj5/kMaQg5Mq9mL6JRmsg/aKtkJjfMVCh/eGE= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0208E4BA2E04 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1765919405; bh=IlrH8FreYoi+7PbeAtgn0AOzrl26QfFKJDauA73gbqA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=kwM92qoKnOVnGAUwA6Za5MX/vRu4AugABc40EtjXxViwR3rADKA5/tx1HKZiT/bcJ 2N/WIZCYnCeIBLu4UzQsg+5iMcAMWXsm11EFssbWj7K8rALFhXu2QqcNllgicM27GJ 96mm+kmm5EO7goBFy8x6kKjQvV+9C7AJhVFg91tQ= Received: by simark.ca (Postfix) id 73DEF1E048; Tue, 16 Dec 2025 16:10:05 -0500 (EST) Message-ID: <4f129860-8182-487e-81fc-53de4e3b1256@simark.ca> Date: Tue, 16 Dec 2025 16:10:04 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 12/44] gdb, infrun, ze: allow saving process events To: "Metzger, Markus T" Cc: "Aktemur, Tankut Baris" , "gdb-patches@sourceware.org" References: <20250801-upstream-intelgt-mvp-v3-0-59ce0f87075b@intel.com> <20250801-upstream-intelgt-mvp-v3-12-59ce0f87075b@intel.com> <8995a60f-fa36-4de7-ba91-8319c0b56ae2@simark.ca> Content-Language: en-US From: Simon Marchi In-Reply-To: Content-Type: text/plain; charset=UTF-8 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 2025-12-15 08:13, Metzger, Markus T wrote: > Hello Simon, > >>> From: Markus Metzger >>> >>> When a process stop reply is encountered during stop_all_threads (), a new >>> thread with the process' ptid is created and the waitstatus is saved in >>> that thread. The effect is that we have a thread with a process ptid and >>> we dropped the event. >>> >>> Save the waitstatus in the inferior, prevent that inferior from resuming, >>> and return it on the next wait. >> >> Can you clarify what a process-wide event is? Are there instances where >> a target returns that today, or is something new with intelgt? > > This is something new with IntelGT. An example would be a module load event. Can you point me where this process-wide module load event is added in the series? All I can find is the `U` stop reply, which can have `;library` appended, but I presume that `U` is a thread-specific event. Simon