From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by sourceware.org (Postfix) with ESMTPS id 3381C385F014 for ; Wed, 15 May 2024 17:35:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3381C385F014 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 3381C385F014 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::d36 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715794547; cv=none; b=XDNbLnNgOk827RmD9ESM8DGm51GT0PO9szESB0Kkoqs8YmnBJWf1jzJQYzpSeFfy3b2zCWBhBSnjLwZvRVEGUDtX1v+r5Tgdh5DHn+c54Y6Vow//P7ep/s2fiZvzx8lg6kSzIsGfx0Uk2UVKPyJq76dhnZ0+Pec/sjShQnWKkNg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715794547; c=relaxed/simple; bh=MApLJ/oD0lNOd20O7XGiiEPrFCFDlgcl5ErL+knx5EI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=p5gRva2URDwgmJUryJIHkx3d2NbScpxwPsDvH1tObimbMh37BXR70y9HHOdnMZJgeD7wnAgwhG5SKrKxzLhKy/QP5uch318AljM9grtN3lhZA63RsHrW9Gju3oLaD1sWY44dL6CmlJJYetHM0S1vO9ZUnfRyhiqDsIzYdiAyuzI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-io1-xd36.google.com with SMTP id ca18e2360f4ac-7e2025c3651so79651739f.3 for ; Wed, 15 May 2024 10:35:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1715794542; x=1716399342; 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=TYW0MlARVhJ8TimPTubyQK6HfgFMsHzRPeX+8WJiPVw=; b=NkJlI0G+fdez/yCyTGyKSmVkgTUh7n2Zp6ddr1o7wPaFAGLBjU/nEmwcRsgpw91wzL EQS10NaUDK4DulxmH2iGmifbm2o8CNuw2Q0UxvzIN2+7R1/xtT6pgCRzTRu2uQb9T2QV tXf7zruQ6aOVZhb3be2A+I1dPOdwMn/Pt5csFYkCcYlgzxVLHibi1DhkPM2YtdGqpJjR 4cDDSxkWdBxd9rgCOIIfyK/ru88ddiO1bNjaIv/kvvKU9tbuak0/GRVBgVSjfP8M3qQS tq5MbIdm35otq81H3ROBL7KL9EmywUX/V8RwFRnajR8ig6kfVnrI28AdNouJGokv4k4u rCnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715794542; x=1716399342; 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=TYW0MlARVhJ8TimPTubyQK6HfgFMsHzRPeX+8WJiPVw=; b=LjRAFUNa8qIO2GRL6PUHB+3c54ZfFpTdj9I8Y5dQ0H2KnIJrpd8NVut8tTP8LSOPzY PMhba2j98+DevZv61R9+rIF73XpzBwBkbsX/JpPrsNgZ6l0+h0kZFfFrq59htYGVN0xP U+9qA+VgZW4V6gYnWdCE9bTUaeR8uEcOMr0u8FEbfkqMAxXacFiZBZZtUcpmCFfqxgpJ sildyEuFZptItT1cug53ku/ZppP746Gmdx49Wzi+8ED/YvTnvHinnHzBaxyWEudzC+or erdclTUJHahSJ/QdykhQ8lntfBqePuUmq7Xc1uy3Y5peWiz+ygsOxUddUvd/teNteo4o l9Ww== X-Forwarded-Encrypted: i=1; AJvYcCXYUqEphquPiSNXLZ1uCJS3eKe78pMsgTVfrwJGvT80ECHnn77nVyyAcMbfj4dvpgmAVWKsDaL0Vh/WsRdIW09KF6vYCv4lZKNWVQ== X-Gm-Message-State: AOJu0YwpPtAsetfnZe/Z9zfIgadJ1wVAwGTBivsrrBF1bQgiKVcyYOV4 I3yJFOS5YEmwnty3aZCmKEfswASRSUZcSL2PABScm5LS+wjyZtyO7AOaBh5+Hc6MybXYmJObrao = X-Google-Smtp-Source: AGHT+IG9WfDyL6oPzQ70U+8ZYajr97F/w/KFksmz6f9Y1reqzf7Cy2XkAKwCCB99HGVR7ycnY3ZBoQ== X-Received: by 2002:a05:6602:2492:b0:7e1:b3f5:bae6 with SMTP id ca18e2360f4ac-7e1b51b6596mr1804030239f.6.1715794542360; Wed, 15 May 2024 10:35:42 -0700 (PDT) Received: from murgatroyd (75-166-134-4.hlrn.qwest.net. [75.166.134.4]) by smtp.gmail.com with ESMTPSA id ca18e2360f4ac-7e1dc7cf0d8sm193292439f.28.2024.05.15.10.35.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 10:35:41 -0700 (PDT) From: Tom Tromey To: Tom Tromey Cc: Pedro Alves , gdb-patches@sourceware.org Subject: Re: [PATCH 00/34] Windows non-stop mode In-Reply-To: <87edac5n1w.fsf@tromey.com> (Tom Tromey's message of "Wed, 08 May 2024 09:40:59 -0600") References: <20240507234233.371123-1-pedro@palves.net> <87edac5n1w.fsf@tromey.com> X-Attribution: Tom Date: Wed, 15 May 2024 11:35:40 -0600 Message-ID: <87seyjvuz7.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Tom> At some point I'll apply the patches and run them through the AdaCore Tom> test suite. I did this today and I found a few failures. Now, one thing to note is that I did this by merging your branch into the AdaCore branch; and AdaCore carries a few local changes. In particular AdaCore still has the "random thread switch" change that I submitted a long time ago -- and one of the problems seems to be related to that. Without really debugging I don't know if that's a problem in the series or with the local changes. Anyway, there are some other problems as well. For instance: (gdb) start Temporary breakpoint 1 at 0x140001aab: file p.adb, line 4. Starting program: C:\Users\itmgr\sandbox\x86_64-windows64\gdb_version-head_test\tmp\tes t\gdb-TS-f539jxg_\J225-024__attach_detach_task\p.exe Thread 1 hit Temporary breakpoint 1, p () at p.adb:4 4 Barrier : Integer := 0; PASSED:J225-024__attach_detach_task:start (gdb) detach Detaching from program: C:\Users\itmgr\sandbox\x86_64-windows64\gdb_version-head_test\t mp\test\gdb-TS-f539jxg_\J225-024__attach_detach_task\p.exe, process 4272 [Inferior 1 (process 4272) detached] PASSED:J225-024__attach_detach_task:detach (gdb) attach 4272 Can't attach to process 4272 (error 87): The parameter is incorrect. Here the test detaches and then re-attaches -- but attach fails. Another test runs gdb without a symbol file and then does an attach. The expected output (happens with gdb head) is: (gdb) attach 2328 Attaching to process 2328 Reading symbols from C:\Users\itmgr\sandbox\x86_64-windows64\gdb_version-head_test\tmp\ test\gdb-TS-bgt06sfm\N203-009__attach_no_exe\foo_n203_009.EXE... However with the branch, gdb doesn't try to read the symbols and instead mentions some system dll: (gdb) attach 1276 Attaching to process 1276 0x00007ff8b9b50274 in ntdll!ZwDelayExecution () from C:\Windows\SYSTEM32\ntdll.dll There was also a timeout when detaching. The inferior being run is fairly ordinary -- nothing special, just a spot to set a breakpoint: (gdb) tbreak break_me Temporary breakpoint 1 at 0x140001ca4: file pck.adb, line 37. PASSED:CA30-017__detach:tbreak break_me (gdb) run Starting program: C:\Users\itmgr\sandbox\x86_64-windows64\gdb_version-head_test\tmp\test\gdb-TS-f539jxg_\CA30-017__detach\foo.exe Thread 1 hit Temporary breakpoint 1, pck.break_me () at pck.adb:37 37 null; PASSED:CA30-017__detach:runto 'break_me' (gdb) detach TIMEOUT:CA30-017__detach:detach (timeout) [killing GDB (pid = N/A (already dead?))] FWIW I ran the tests before and after the series, on the same machine, so there shouldn't be any machine configuration issues or anything like that. hope this helps, Tom