From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1A72538E08DD; Mon, 13 Nov 2023 14:25:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1A72538E08DD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1699885555; bh=GNMI518AGzyr/B1SM8PXJR9iIGxD5KR24Os+7b+pdtk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Pr7OmsVEAxNISNbNFdPUETzDNrAK1G7hsPgqndpZvQ4p2+IaENWI4klK/Y4z03pNK Pyk/nOw81dVS+y+eB0IreEnXBhnymuDVzwPSPwZA7e/KommVKp8e7rWrz0VnAKrGLh hJg9y44g/JaniNVJPjCZDkpKCXWLCTF05O105Mzw= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/19675] GDB doesn't set PC correctly with displaced stepping over clone syscall Date: Mon, 13 Nov 2023 14:25:54 +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: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: pedro at palves dot net 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=3D19675 --- Comment #8 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Pedro Alves : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D393a6b5947d0= 37a55ce1b57474e1ffb3074f544e commit 393a6b5947d037a55ce1b57474e1ffb3074f544e Author: Pedro Alves Date: Tue Nov 23 20:35:12 2021 +0000 Thread options & clone events (Linux GDBserver) This patch teaches the Linux GDBserver backend to report clone events to GDB, when GDB has requested them with the GDB_THREAD_OPTION_CLONE thread option, via the new QThreadOptions packet. This shuffles code in linux_process_target::handle_extended_wait around to a more logical order when we now have to handle and potentially report all of fork/vfork/clone. Raname lwp_info::fork_relative -> lwp_info::relative as the field is no longer only about (v)fork. With this, gdb.threads/stepi-over-clone.exp now cleanly passes against GDBserver, so remove the native-target-only requirement from that testcase. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D19675 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D27830 Reviewed-By: Andrew Burgess Change-Id: I3a19bc98801ec31e5c6fdbe1ebe17df855142bb2 --=20 You are receiving this mail because: You are on the CC list for the bug.=