From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 44B273858D33; Wed, 22 Feb 2023 11:25:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 44B273858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677065159; bh=NQYRas3PME21LU+eWS8Rmu++OAjZsGuzs/nI7TbruGk=; h=From:To:Subject:Date:From; b=Jqv3k7RQ5tHPiXprpIn4PyP+8rjD0aX5saKj1MyoNmj256RAjiwfHZp6VPjdMYCKP k1vdbhe9M9RqQkPl3szx1sPfv62UJC652s79fIQu8Sga6Ra3Wp4tUg375FeSd2DqRM RtlgQawQoDUf6bOdip3edOxaFfzd/sr/I/5B1X0E= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/30154] New: FAIL: gdb.multi/multi-target-no-resumed.exp: inf_A=2: inf_B=1: send_gdb control C (timeout) Date: Wed, 22 Feb 2023 11:25:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: 12.1 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D30154 Bug ID: 30154 Summary: FAIL: gdb.multi/multi-target-no-resumed.exp: inf_A=3D2: inf_B=3D1: send_gdb control C (timeout) Product: gdb Version: 12.1 Status: NEW Severity: normal Priority: P2 Component: testsuite Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- Setup: - openSUSE Leap 15.4 x86_64=20 - chroot with SLE-11 i586 packages (so, using tcl 8.5) - gdb build of gdb-12-branch based package I'm running into: ... (gdb) PASS: gdb.multi/multi-target-no-resumed.exp: inf_A=3D2: inf_B=3D1: se= t the thread to exit on resumption continue^M Continuing.^M [Thread 0x2a8cfb70 (LWP 20395) exited]^M PASS: gdb.multi/multi-target-no-resumed.exp: inf_A=3D2: inf_B=3D1: continue ^C^M Thread 2.2 "multi-target-no" received signal SIGINT, Interrupt.^M [Switching to Thread 20403.20404]^M FAIL: gdb.multi/multi-target-no-resumed.exp: inf_A=3D2: inf_B=3D1: send_gdb= control C (timeout) 0x2a97548c in nanosleep () from /lib/libc.so.6^M (gdb) info threads^M ... This seems enough to make it pass: ... diff --git a/gdb/testsuite/gdb.multi/multi-target-no-resumed.exp b/gdb/testsuite/gdb. multi/multi-target-no-resumed.exp index a88a1704bf6..a9e1884f30f 100644 --- a/gdb/testsuite/gdb.multi/multi-target-no-resumed.exp +++ b/gdb/testsuite/gdb.multi/multi-target-no-resumed.exp @@ -58,6 +58,7 @@ proc test_no_resumed_infs {inf_A inf_B} { # Now stop the program (all targets). send_gdb "\003" + sleep 1 gdb_test_multiple "" "send_gdb control C" { -re "received signal SIGINT.*$gdb_prompt $" { pass $gdb_test_name ... in other words, telling expect to back off for a bit. --=20 You are receiving this mail because: You are on the CC list for the bug.=