From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C60243858025; Wed, 23 Nov 2022 01:46:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C60243858025 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669168003; bh=yminSdwcd7XhJ/SexRMCHv2jHnLhbClv/WltBg+0JH4=; h=From:To:Subject:Date:From; b=gnlCEfSg/Gm8Hw0ySCNggmsA3YjH92h6ykI2+OU6pxF72oIOKr6jf6DHrKsuCMzus pBz6LtRkUbvSB9FBfJncFBqTzkyzVnXtPwoVE+vYwcVBGF4M5RYAYFoWqXgdEOqbhw JqhE/V0+7UKKEZg0c0Q4i0PUC0EeFOQfmZ/rSkjY= From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug gdb/29821] New: native-gdbserver: FAIL: gdb.base/vfork-follow-parent.exp: resolution_method=schedule-multiple: continue to break_parent Date: Wed, 23 Nov 2022 01:46:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: simark at simark dot ca 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=3D29821 Bug ID: 29821 Summary: native-gdbserver: FAIL: gdb.base/vfork-follow-parent.exp: resolution_method=3Dschedule-multiple: continue to break_parent Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: simark at simark dot ca Target Milestone: --- I got this once on my CI. 879931 (gdb) continue^M 879932 Continuing.^M 879933 ^M 879934 Breakpoint 1, main () at /home/jenkins/workspace/binutils-gdb_master_linuxbuild/platform/jammy-amd64= /target_board/native-gdbserver/src/binutils-gdb/gdb/testsuite/gdb.base/vfor= k-follow-parent.c:30^M 879935 30 alarm (30);^M 879936 (gdb) break break_parent^M 879937 Breakpoint 2 at 0x5555555551b1: file /home/jenkins/workspace/binutils-gdb_master_linuxbuild/platform/jammy-amd64= /target_board/native-gdbserver/src/binutils-gdb/gdb/testsuite/gdb.base/vfor= k-follow-parent.c, line 25.^M 879938 (gdb) PASS: gdb.base/vfork-follow-parent.exp: resolution_method=3Dschedule-multiple: break break_parent 879939 continue^M 879940 Continuing.^M 879941 Can not resume the parent process over vfork in the foreground whil= e^M 879942 holding the child stopped. Try "set detach-on-fork" or "set schedule-multiple".^M 879943 0x00007ffff7e76c3c in vfork () from /lib/x86_64-linux-gnu/libc.so.6= ^M 879944 (gdb) PASS: gdb.base/vfork-follow-parent.exp: resolution_method=3Dschedule-multiple: continue to vfork 879945 continue^M 879946 Continuing.^M 879947 Can not resume the parent process over vfork in the foreground whil= e^M 879948 holding the child stopped. Try "set detach-on-fork" or "set schedule-multiple".^M 879949 0x00007ffff7e76c3c in vfork () from /lib/x86_64-linux-gnu/libc.so.6= ^M 879950 (gdb) PASS: gdb.base/vfork-follow-parent.exp: resolution_method=3Dschedule-multiple: try to continue from vfork 879951 set schedule-multiple on^M 879952 (gdb) PASS: gdb.base/vfork-follow-parent.exp: resolution_method=3Dschedule-multiple: set schedule-multiple on 879953 continue^M 879954 Continuing.^M 879955 [New inferior 2 (process 970302)]^M 879956 [Inferior 2 (process 970302) exited normally]^M 879957 (gdb) PASS: gdb.base/vfork-follow-parent.exp: resolution_method=3Dschedule-multiple: continue to end of inferior 2 879958 inferior 1^M 879959 [Switching to inferior 1 [process 970290] (/home/jenkins/workspace/binutils-gdb_master_linuxbuild/platform/jammy-amd6= 4/target_board/native-gdbserver/tmp/tmp.5bGk6ccCMD/gdb/testsuite/outputs/gd= b.base/vfork-follow-parent/vfo rk-follow-parent)]^M 879960 [Switching to thread 1.1 (Thread 970290.970290)]^M 879961 #0 in ?? ()^M 879962 (gdb) PASS: gdb.base/vfork-follow-parent.exp: resolution_method=3Dschedule-multiple: inferior 1 879963 print unblock_parent =3D 1^M 879964 $1 =3D 1^M 879965 (gdb) PASS: gdb.base/vfork-follow-parent.exp: resolution_method=3Dschedule-multiple: print unblock_parent =3D 1 879966 continue^M 879967 Continuing.^M 879968 PC register is not available^M 879969 (gdb) FAIL: gdb.base/vfork-follow-parent.exp: resolution_method=3Dschedule-multiple: continue to break_parent --=20 You are receiving this mail because: You are on the CC list for the bug.=