From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 61FEA38582A3; Tue, 13 Feb 2024 14:53:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 61FEA38582A3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1707836000; bh=wK3DQNdVxf77fPffhHbvy4TFOqDROreBcgpl6BlzM+o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=L7vkJbN3t2QKbdL6FxK1i6aEkT9uDqDEgq9dcQV1g8heAJgwJz2Z4qvqe+3Tg5bt4 COYZ9e4shTXtSxV+Ddhb4f4XFNk70GChd3qX8xCkfTe+7NT7jQVM1sIrgHwoHLAjOb 02aqu4TBiSJEdOAmv3rlOkGfBdQGbim7bKHkW/EE= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/31374] [gdb/dap] FAIL: gdb.dap/sources.exp: get source success Date: Tue, 13 Feb 2024 14:53:19 +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: unassigned 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=3D31374 --- Comment #5 from Sourceware Commits --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Da16034bf6417= dc2259fef43fd5bcc2dd1dac562f commit a16034bf6417dc2259fef43fd5bcc2dd1dac562f Author: Tom de Vries Date: Tue Feb 13 15:53:28 2024 +0100 [gdb/testsuite] Fix fail in gdb.dap/sources.exp With test-case gdb.dap/sources.exp, I run into: ... {"request_seq": 4, "type": "response", "command": "source", \ "success": false, "message": "notStopped", \ "seq": 11}FAIL: gdb.dap/sources.exp: get source success ... The fail happens because the request races with the stopping at main as requested by: ... if {[dap_launch $testfile stop_at_main 1] =3D=3D ""} { ... Fix this by waiting for the stop, in the same way that is done in other test-cases that use stop_at_main. Tested on x86_64-linux. Approved-By: Tom Tromey PR testsuite/31374 https://sourceware.org/bugzilla/show_bug.cgi?id=3D31374 --=20 You are receiving this mail because: You are on the CC list for the bug.=