From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 530ED385840E; Fri, 12 Apr 2024 17:45:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 530ED385840E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1712943920; bh=Kik040S7wHu5RPCQF/dBLXw3x28jxB9fLRjZq5XbQOE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Hw/9v03kvvRUkbVhNtuzzZrjaiK8w4NZ8IQJ6F07+8TfIPTZ/bgYi7L43yoqKlfm9 JNVWuF4q3/FwmDiUWtDHCrzW+ar2KwEfeOMvn0lP1Aw3RMSzPm+GDZwXH5ChksT253 6qQJMZOVXYFzznEGkggZKCUgQ8W6vGxVA7Qt3Jq8= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug server/31554] gdbserver --once --multi mishandles run & attach failures Date: Fri, 12 Apr 2024 17:45:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: server X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: pedro at palves dot net X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31554 --- Comment #2 from Sourceware Commits --- The master branch has been updated by Pedro Alves : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dec4890317092= 6f3827144525b50ddd3c6ae3fbf0 commit ec48903170926f3827144525b50ddd3c6ae3fbf0 Author: Pedro Alves Date: Mon Mar 25 15:17:02 2024 +0000 New testcase gdb.threads/leader-exit-attach.exp (PR threads/8153) Add a new testcase for exercising attaching to a process after its main thread has exited. This is not possible on Linux, the kernel does not allow attaching to a zombie task, so the test is kfailed there. It is possible however on Windows at least, and was the scenario addressed by the Windows backend fix in https://sourceware.org/legacy-ml/gdb-patches/2003-12/msg00479.html, nowadays PR threads/8153, back in 2003. Passes cleanly on Cygwin. KFAILed on GNU/Linux native and gdbserver. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D8153 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31554 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31555 Change-Id: Ib554f92f68c965bb4603cdf2aadb55ca45ded53b --=20 You are receiving this mail because: You are on the CC list for the bug.=