From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D52D13858C78; Mon, 18 Mar 2024 13:01:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D52D13858C78 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1710766886; bh=7JUhWzqzaAQlPnhplfsCK+C7v2HSZLKGzqbGSv+qqlo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RHe02RJyMRLuThswZARAq7RMGo721E791lP9XABGEyR9HrampZlVKG9Uu9v08f7+a wkpmq6u3lV5A2VuP2mf+qYE7yVzT1airvVOVXgT6PuQJLwwW5i0kytoVeP627Ph4VD WOiTEV43OlC2rYgmM/oHrcnynB0pkZ+CWiWars/g= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/31435] [gdb/testsuite] Runtest error running DAP tests Date: Mon, 18 Mar 2024 13:01:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org 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=3D31435 --- Comment #11 from Sourceware Commits --- The master branch has been updated by Tom Tromey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D2518ce94704e= 54597bec273cafb090693b2de098 commit 2518ce94704e54597bec273cafb090693b2de098 Author: Tom Tromey Date: Thu Mar 14 11:35:25 2024 -0600 Clear board_info entry after waiting for process When certain DAP tests are run in a certain order, dejagnu will throw an exception during shutdown. After adding many logging statements, I tracked this down to kill_wait_spawned_process not clearing the 'fileid' board_info entry, causing dejagnu to try to wait for the process a second time -- and fail. Tom de Vries then pointed out a second instance of this, which I tracked down to the same problem occurring when spawning gdbserver. This version of the patch fixes this by adding a new proc that can be used to clean up board_info after waiting for a process to exit. I'm not sure why this problem hasn't affected the test suite in the past. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31435 Approved-By: Andrew Burgess --=20 You are receiving this mail because: You are on the CC list for the bug.=