From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 761C93858C54; Mon, 4 Mar 2024 08:25:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 761C93858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1709540754; bh=Oj+1D5cCtnfWKzuWiwVt8uRnYrxMnn8xSXrCz2W757E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MgVGWH7Vi7ssucHpYNnWz/VxPr2XJ6dbTVNhxFWS0xLAJciS/QUVZ8N5NdBhqmIpn gajmdJACqch7qS6/mkiyHKrM5JVSwRSqZadAtzZNXU22L9ylhplbza5zkvJN6oml02 Ev9/TkVcuApm19sPysZHtNiA9JPkvXc3xN/jA2gc= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/31440] [gdb] FAIL: gdb.python/py-progspace-events.exp: inferior 1 (timeout) Date: Mon, 04 Mar 2024 08:25:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc component 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=3D31440 Tom de Vries changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[gdb/testsuite] FAIL: |[gdb] FAIL: |gdb.python/py-progspace-eve |gdb.python/py-progspace-eve |nts.exp: inferior 1 |nts.exp: inferior 1 |(timeout) |(timeout) Component|testsuite |gdb --- Comment #2 from Tom de Vries --- Hmm, the test-case says: ... # Switch to inferior 2 and continue until we hit breakpt.=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 gdb_test "inferior 2" "\\\[Switching to inferior 2 .*" gdb_continue_to_breakpoint "run to breakpt in inferior 2" # Let inferior 2 exit. The new program space is not removed at this=20=20= =20=20=20=20=20=20=20=20=20=20 # point.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 gdb_test "continue" \ [multi_line \ "^Continuing\\." \ "\\\[Inferior $decimal \[^\r\n\]+ exited normally\\\]"] \ "continue until inferior 2 exits" gdb_test "inferior 1" "\\\[Switching to inferior 1 .*" # Step the inferior. During this process GDB will prune the now=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 # defunct inferior, which deletes its program space, which should=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 # trigger the FreeProgspaceEvent.=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 ... So, it explicitly states that the FreeProgspaceEvent should not happen until after the step is issued. At this point I'm not sure if this is indeed a test-case issue. --=20 You are receiving this mail because: You are on the CC list for the bug.=