From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id EyugBuAu/mlPSyQAWB0awg (envelope-from ) for ; Fri, 08 May 2026 14:43:44 -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=CV7GhbYE; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 05A9C1E067; Fri, 08 May 2026 14:43:44 -0400 (EDT) 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 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 0E3D81E067 for ; Fri, 08 May 2026 14:43:43 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 666644BA2E2C for ; Fri, 8 May 2026 18:43:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 666644BA2E2C 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=CV7GhbYE Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) by sourceware.org (Postfix) with ESMTPS id 443D34BA2E12 for ; Fri, 8 May 2026 18:43:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 443D34BA2E12 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 443D34BA2E12 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::32e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1778265797; cv=none; b=eMjC/NW5E3s5GgV7ktH61LyOI55EV56aYR8j5c5rBRbUIqDs2fklX/DD4unHurgJ5ZqLqiD/CnqgGuRD8Yy3s4oV4EW+OubdCHEucc7lNFhX4TdS9+dKeDBHV6iI4L81tsEYJxsQ2qx3Vue6pS2LPebEDauaccbYFM1LUrCZa2U= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1778265797; c=relaxed/simple; bh=Krbef53yIHxEPxA7nVA5Y1E/j7ujIZluAS3tza9Y+l8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=nD6g46PZqGpTJCkC2kI0Eb19AiUQpXrnsSSCJMslHjaTIUzWXdYlEQNHeqVkXCUKG/t8vlLKv5RGgWirxsoaXF3+VzYAHMSMN3rOuRxiKlK2uZ/IiwTR0BUNOeLQXSBAa4o0mwJwTpB1iGFdCr0U0LsKnrfG0RVE3h0Z5bA+hnU= ARC-Authentication-Results: i=1; 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=CV7GhbYE DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 443D34BA2E12 Received: by mail-ot1-x32e.google.com with SMTP id 46e09a7af769-7dea20cf21aso2145133a34.1 for ; Fri, 08 May 2026 11:43:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1778265796; x=1778870596; 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=jYPKCr9z9mN9iY5S7NtZHFrDjyA9FZZ6HvSICH1IrQ4=; b=CV7GhbYEKLxxo1SC2zIlqHAZ4lj55lojEMduYuFoAlfotxisZpRw97m5thCV3kNdjv Eidy7XXetnXoItnkqw2fMYdytxtfsQtEZptmhC9XEasyNtqETuX86l1llG9LGC3eKt5R Ha56pCdsCQ4hfwLFuFzgTjShS71AsWbobzVQ8Sur/4Mlo7EMbzpuhDJWUdBV05bp4NMS s0TjaetRDvLbhQAiX+jfyGPU5rZzQfOi++svkrl4UlAqrWB9wEluppWnPpCXtQTgyGHZ bww9xzHYKI8U5tmwcSpAJVHpBkRY9Qi07DrDYHmbjS+6USNkH5LlN5+8NUWQsGnyviGZ Vj8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778265796; x=1778870596; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=jYPKCr9z9mN9iY5S7NtZHFrDjyA9FZZ6HvSICH1IrQ4=; b=mxBBdx3H4Hcyl6ebuBPPHYaisTx8WinV7hgQnBtiwpOmMgfbrYKgmfg6u3zutRjyAA YCvE59+YA2n58z50SGqpYIw7sFZsp7u6xSx627GPCQ4ODaoC9yD0UpPs8rACcpsOaWcr cwS4O/SXLou6aC/KgIxBQZ4TU3pIhSbsslpKIPcl749b+Fj7w5WX1a6cvA7Rm4CGawoK SV5v9wu6E7HW2OBYVetjYl+lxzZGRy3q439k7YQaxynMj+OwFIxXVQI9xYkMO2NQobeC zkGSHK6dE2YLDBo7zPLZxTwnV9PIwOuY3t0w/uR/F0hVQ+5109YaxuhPsHEThTrxv6ps sB5g== X-Gm-Message-State: AOJu0YxnBgtjdbuCyeUNClaPFes0KxuyB+G+umsjtnaYrO5cR0aKE+Jd /ld42gkTIABIsYpTq9xiDRaUhd5f0YzB6Xkn4XA6cyvYKdQTll22zrHWcZE6R5OUWQ== X-Gm-Gg: AeBDiesfm67ncl9jkI/b7cvHqytONYSP59nhfN/hTqm4lnCIe8zI6EfmgZ+OMTc7yo7 rIHikVnyi6oSZ6lOe6zmDx5HwmzygRTOcYHb+0m7XmF6NUeiTQDVIN//dP9SzzNmyGIPoEM8/nQ 6GMtaHkmQxbr7tRCXSudgZD4u2GXT+nFPg83OC20Ftd7z9EUST0ftAeRNDIojQRwXaDIAVrFWtt G+XMjW9HnC1hN7aDz+SeYE/RW/tLFeXJgscNulwE2osHU2lw46/CbLiiUuyc6o2xzUvDSnl15w1 NsK73l1kjo2YNuPZUk+3DZSequ3IDapdfjhIj/ViJ6ZHbl9crHN6C23PZ1UkZH7W/1nqOMBS1U3 iXz5ZZ3tDRuzcxg8bxm1SF/5AMReWVQ/13GfY03VKgFWHpmjlMRfkJVLMGn8Sd3Y6oC6ux35VUZ ioT2vtgE7H+kTSpFxRgirGXl5q2aMfTQiTHs0Pww1ZQT7m/mnYBTWCFQ== X-Received: by 2002:a4a:ee11:0:b0:684:2b28:f9a6 with SMTP id 006d021491bc7-69998d7211dmr8146895eaf.58.1778265796344; Fri, 08 May 2026 11:43:16 -0700 (PDT) Received: from bapiya (75-166-225-82.hlrn.qwest.net. [75.166.225.82]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-435573e90c1sm2308600fac.16.2026.05.08.11.43.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 May 2026 11:43:16 -0700 (PDT) From: Tom Tromey To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH v3 00/11] Windows non-stop mode In-Reply-To: <20260429201507.480870-1-pedro@palves.net> (Pedro Alves's message of "Wed, 29 Apr 2026 21:14:56 +0100") References: <20260429201507.480870-1-pedro@palves.net> X-Attribution: Tom Date: Fri, 08 May 2026 12:43:15 -0600 Message-ID: <873401oi7w.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" == Pedro Alves writes: Pedro> Here is the third iteration of the Windows non-stop work. As mentioned elsewhere, this caused some regressions in the internal AdaCore test suite. On x86 Windows 2019 we see the "unwaited-for children" message (gdb) run my_which2 Starting program: C:\it\sbx\wave\x86-windows\gdb_version-head_test\tmp\test\gdb-TS-8qgi1zlz\K509-012__path_cmd\my_which.exe my_which2 C:\it\sbx\wave\x86-windows\gdb_version-head_test\tmp\test\gdb-TS-8qgi1zlz\K509-012__path_cmd\mybin2\my_which2.exe No unwaited-for children left. FAILED:K509-012__path_cmd:run my_which2 A few tests seem to fail this way but they are all pretty basic things like the above. The same happens on x86-64 Windows 2019. There's another test that adds some event listeners from Python like: gdb.events.stop.connect(signal_stop_handler) gdb.events.stop.connect(breakpoint_stop_handler) gdb.events.exited.connect(exit_handler) gdb.events.cont.connect(continue_handler) These just print what happens. The test started failing because what exactly happens has changed: --- Regression: K224-002__py-events:what_happened - Could not match event type: continue event type: stop event !! FAILS HERE -> type: stop stop reason: breakpoint breakpoint number: @NUMBER all threads stopped - Against input line event type: continue event type: continue event type: stop event type: stop stop reason: breakpoint breakpoint number: 2 all threads stopped That is, two stop events seem to be produced? According to the notes this test is a port of gdb.python/py-events.exp, though I am not sure if they have diverged. I'm not really sure that the Windows 2019 detail is completely relevant because that seems to be the only version of the OS that we're using to test gdb HEAD. Anyway I am happy to produce logs or something if that would help. Eventually I'll probably end up debugging this myself but it might be a while. thanks, Tom