From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id roHGM0gpS2hlYQsAWB0awg (envelope-from ) for ; Thu, 12 Jun 2025 15:23:52 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=bExWz3hT; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id C1B161E102; Thu, 12 Jun 2025 15:23:52 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-9.1 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,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 22CF11E0C2 for ; Thu, 12 Jun 2025 15:23:50 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 499D138844CF for ; Thu, 12 Jun 2025 19:23:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 499D138844CF Authentication-Results: sourceware.org; dkim=pass (2048-bit key, secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=bExWz3hT Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) by sourceware.org (Postfix) with ESMTPS id C6A523883973 for ; Thu, 12 Jun 2025 19:23:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C6A523883973 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C6A523883973 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::133 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749756196; cv=none; b=gA/pKNvWSlVH/Gd3W/6/vsn/vMdkdkPIt9o1UnyeeASVr679748c0iP1pOAcQyykmmPmFOcFsgD/F6nP9b9TLfk+on65riQtdDhDyN9UiHENeQvWZhz+tFlu1qOfKNE4ErHbao2+EF+VLNheJ+7EhkBEMlLQfHur1DaFXmlQ9oA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1749756196; c=relaxed/simple; bh=TYvP1i7BgiXTXHnSdXnhc4btF8NCsYIBUO5qos9wkZk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=oPG0k+XtyHCr/S4sipM+gUZi1fnmGy0yidQOGhYhYhXGbva5ltRT7F8WeboIE91ovLCd5ECaJaBexe8cNKN+e79YtS/H6AAsK5conjw7ewgi9RGjAgKoc+HO5m0CfBPUGhCE6qEFbQl/7s/aGmTRKF0k/GI2zO1/92BS3nPCHVw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C6A523883973 Received: by mail-il1-x133.google.com with SMTP id e9e14a558f8ab-3d80bbf3aefso7073995ab.1 for ; Thu, 12 Jun 2025 12:23:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1749756196; x=1750360996; darn=sourceware.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=WhXEdBhKr78bkGu7Quiy7bx3+bUwQd3GFkh5xD+bu+A=; b=bExWz3hTh03TFVPyMCsVcdSm1zB2VyYVcKNdfSUECSDjasgRo03FRNwW9n6FFEB48i 8PAlOxhF35YFvXARekkrZvRpA6m5D/8p6iS2oD8vR/YAzCfjqXmse8F/CdYrKk2++qIa jSPu0m//8kc6eFRy8PrCuwUmPqEu2X4fo71UfSr1i0IVJa+qfcWKcyQFTDAcpcgCjUmN 1Kan3m/2cWKRyyPOaGptatXTdpE13rTt+3Od9pE2AL9DsXf5wZWVrXF+61+iRwrjOOMb aqc9K+xYXzpbp/q49AWItVjpPDNdovvVDKZPMntEX3cGj6R9HYCIHgyY7NdViAZC2ffj MWvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749756196; x=1750360996; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=WhXEdBhKr78bkGu7Quiy7bx3+bUwQd3GFkh5xD+bu+A=; b=th/+M3mTkgKUFHIwjCWHWpgx57dElUo2El/Ac1C1dgAcBOFQz/oOsucfehjy7s0fsu BG5B0ACe4qJw2YAAElge9hHVyEFyzn/WjnaRdb2PqGMWZZfWLpXskqSeOGQeRzaHppeT 8G5LF/Dr4KUlAqEooe5Zb4x645pnrq8JaOhKja74guiTrcgLNEZCBc2d/oFSHhfM/AgE 2blwO1oalg9v7EcN6WHlnkCsZJCLTnFWIkj3UzIDvEA7P5XBGBWmQ42w6+/gMcOF7BR5 E9zRsXpd7p4/8UD3jVHxWAPh/Tr/FySZ6DrAL9PrGIbeDG85VUlrRYP7pW48qcEZWrbk E4og== X-Forwarded-Encrypted: i=1; AJvYcCUvm3nWVOIcUV5dSumMcDLFbGzcTxFtc4vwhW2DUKq31kVfCHLTzxIj7v66RMHFeMf6RZMcS8sX5UwKhg==@sourceware.org X-Gm-Message-State: AOJu0YyfKj6Wbq/mN2yjCTARJMfIg/zzCyg+wBB+OIuaNXgBEXm0PJIv 3k8K7VWZGaTa3l/7yTZMaFjx+92mdUL/whg8V7wxYvtSeEvlnGNMmX9oTwjenJbW6k/ij4bdhMU u/esNXH0X X-Gm-Gg: ASbGncsAEcPS/XzvS4ga5AW+woVEGTCr/EpDten6Rd7QSEPCu7qTNuIaq1lp7pgm7Qw b/+Hs3yK0r6CWpoI+4zOupiLwsVp8spVNqLMVCRqB99YreUNpQiyZzLqe28/OqwCgBChinzf5J/ zCXSPIWH9GteF4fqWUSBDOU3ggsWcz0CId5QowPurh0dvNDlanSP1iavMxI6BazSL/IeRmyXfyf 9P/Fy37E3WUsQAd8bWcxbMzXgCxGCZ++Lj+QFFPTWPBd0H/qN3Nsp/gwSwJyvGFBbaq5qwvTjZu ELupKTkphLnBLfkU7/KTCgflYWsOC77DpKAsQNO3k3VduUo+AZAnUEkAFmSJKPNg2ahIe4Isbyx UmOYhvAio X-Google-Smtp-Source: AGHT+IFIFZYQunfg+TCDMsDMWYmUEZeD6G84UJczYt9dmRmH0eMKaAoGXC55ZPCq5L9fBELyTknjZw== X-Received: by 2002:a05:6602:3809:b0:86d:71:d9a with SMTP id ca18e2360f4ac-875d3bf72d1mr44269839f.2.1749756195832; Thu, 12 Jun 2025 12:23:15 -0700 (PDT) Received: from bapiya (75-166-228-225.hlrn.qwest.net. [75.166.228.225]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-5013b89f646sm396864173.69.2025.06.12.12.23.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Jun 2025 12:23:15 -0700 (PDT) From: Tom Tromey To: Pedro Alves Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [PATCH v2 00/47] Windows non-stop mode In-Reply-To: <747c4557-0eb3-4f5a-8ad0-cf734d69d59e@palves.net> (Pedro Alves's message of "Thu, 12 Jun 2025 00:51:43 +0100") References: <20250519132308.3553663-1-pedro@palves.net> <87ldq6ax6c.fsf@tromey.com> <747c4557-0eb3-4f5a-8ad0-cf734d69d59e@palves.net> X-Attribution: Tom Date: Thu, 12 Jun 2025 13:23:14 -0600 Message-ID: <87h60kn4rh.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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 Pedro> Is the test using scheduler locking (and was previously ignoring the error Pedro> that "set scheduler-locking on" currently issues on Windows) ? Nope. The test is fairly basic. I've appended the two files (the test script and the Ada source) , since I don't think there's anything particularly proprietary about them. They seem to be pretty old. Pedro> I ask because that is expected output if you continue with scheduler locking enabled, Pedro> and the thread exits. E.g., the new gdb.threads/leader-exit-schedlock.exp testcase added Pedro> by the series, has: Pedro> Maybe some logs like: Pedro> set debug infrun Pedro> set debugevents on Pedro> set debugexceptions on Pedro> set debugexec on Pedro> would help see what's going on. I will try to do this soon. Tom from testcase_utils import exit_notification, gnatmake, new_gdb, require require("Ada") gnatmake("main") gdb = new_gdb("main") gdb.breakpoint("main.adb:4", file="main.adb") gdb.composite_command( "commands", sub_commands=[ "silent", 'printf "Breakpoint hit #1.\\n"', "clear main.adb:4", "continue", "end", ], ) gdb.breakpoint("main.adb:5", file="main.adb") gdb.composite_command( "commands", sub_commands=[ "silent", 'printf "Breakpoint hit #2.\\n"', "clear main.adb:5", "continue", "end", ], ) gdb.run( out=[ "@...", "Breakpoint hit #@NUMBER.", "Breakpoint hit #@NUMBER.", "@...", exit_notification(), ] ) procedure Main is I,J : Integer := 1; begin I := J*1000; -- Must remain at line 4 for the purpose of this test J := I*5; -- Must remain at line 5 for the purpose of this test end Main;