From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id DJzgGjjv8ml/GgUAWB0awg (envelope-from ) for ; Thu, 30 Apr 2026 01:57:12 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=hspTVPuu; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 4225B1E0BA; Thu, 30 Apr 2026 01:57:12 -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_MSPIKE_H2,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 7D3A31E093 for ; Thu, 30 Apr 2026 01:57:11 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 9E7C44A9C030 for ; Thu, 30 Apr 2026 05:57:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9E7C44A9C030 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=hspTVPuu Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 00D814A9E063 for ; Thu, 30 Apr 2026 05:56:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 00D814A9E063 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 00D814A9E063 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777528607; cv=none; b=TjEJ1l2ODsogTClRt+RLL8QNvIRIeQyIEafoItinPBXtw3N3F4lJlA0QcAP34kIHtnMWGOOn1wuw2BlYmVJxjmMMEtRIeHcFZx7WineIs2vanl2NwifUfgPQgG3AXORooEaiRu/HHBrqemUHtGhw2fCtwn1RIr5h8bFfGdkhBzk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777528607; c=relaxed/simple; bh=FOAewiJUzAJM2hIrOeeKElAJgXzBnNMfZFxan69ypiw=; h=DKIM-Signature:Date:Message-Id:From:To:Subject; b=h1A8E09hY1UND/tt8YPolF6JvBFXC2UhS+xI0QA1RYd/AWc9VnEZzNTaY5HGXTbjBfKUyO4PiPIak7d5uNotvV8A0x+P4KSJfSdwUhGntRuBtZFlVq6fyjdrfoK6ZMRo8o9Fjyk9uh975B1hw4Tzvk25qb0UIs0wqAJsGwPl+K4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 00D814A9E063 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wIKOB-0003Od-Vi; Thu, 30 Apr 2026 01:56:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=06eTB84Cz9BesX2sHWkVIFgoBHJTvQEQ8Tcoe2CMC2s=; b=hspTVPuu38Pc nG+nNZqqIAX7U3aQIT6JnynS9UJpRfydlfmm+ntwvSOsvx2+OEaqapPOzranusNkO8D25fEoIGWgk A7jC7ge42iEwllAjjt7fvCJ60Ke67jobwWdtR1msD2cq6KaEB7HPtb9SRG6O0pkU3LUuPBOO9ma90 nQn2WDSsKVKD+JJsTZGB0DkyXvNUY5C+sBA/R74jPcyNGJAIy2+w7pNQwx+V3cu/kHJEUpsfFuPIo Pg1gR073FJBlhOOT7PE1X9K/3XYtsBZjJgIujnd+cuAs8ve97EHWJHF6ykSy0x+JMe05k/jDpfqXo 9xx4SstNWrTowZfjJAMSWA==; Date: Thu, 30 Apr 2026 08:55:52 +0300 Message-Id: <86a4ul3sbb.fsf@gnu.org> From: Eli Zaretskii To: Pedro Alves , Hannes Domani Cc: gdb-patches@sourceware.org In-Reply-To: <20260429201507.480870-1-pedro@palves.net> (message from Pedro Alves on Wed, 29 Apr 2026 21:14:56 +0100) Subject: Re: [PATCH v3 00/11] Windows non-stop mode References: <20260429201507.480870-1-pedro@palves.net> 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 > From: Pedro Alves > Date: Wed, 29 Apr 2026 21:14:56 +0100 > > This series adds non-stop mode support to the Windows native backend, > on Windows 10 and above. Earlier Windows versions lack the necessary > feature, so those keep working in all-stop mode, only. > > After the series, the Windows target backend defaults to working in > non-stop mode (as in, "maint set target-non-stop"), even if > user-visible mode is all-stop ("set non-stop off"). This is the same > as the Linux backend. I'm not sure this is necessarily a good idea. Windows is weird in this aspect, as you know very well: the system frequently starts additional threads for its own purposes, such as handling the Ctrl-C and Ctrl-BREAK signals. Also, many Windows programs have a separate UI thread which receives and dispatches the Windows GUI messages. Letting those threads run by default when the program stops at a breakpoint is not necessarily the best alternative, and perhaps is best left to the GDB user in each case (they can do that in program-specific .gdbinit, if they need). Or am I missing something? Thanks.