From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0995838C4333; Mon, 13 Nov 2023 14:25:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0995838C4333 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1699885534; bh=iXl0LQb6TCkLNkz6vaW1szA7Gj+NFkgAwcs7XGvAIbA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qz61VJpTKByanjbli9t868HWdiz1hsHdkYLkvMUecPc5FUfZ+8T7DDvTQLF6jO7zt t7OC2Unaixff7sjeqMdb8k497i8K/M9a/cceIRHrT5A4rFYavCzR+OV/O9/t9aC5c0 iZ9sCEdBLExe7s8ZZSH2h7FG1SvGe4K4UYovMkKg= 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:33 +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 #5 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=3D53de5394f7bf= 11995b1d9cb6885a8490b2ebc9da commit 53de5394f7bf11995b1d9cb6885a8490b2ebc9da Author: Pedro Alves Date: Tue Nov 23 20:35:12 2021 +0000 Support clone events in the remote protocol The previous patch taught GDB about a new TARGET_WAITKIND_THREAD_CLONED event kind, and made the Linux target report clone events. A following patch will teach Linux GDBserver to do the same thing. But before we get there, we need to teach the remote protocol about TARGET_WAITKIND_THREAD_CLONED. That's what this patch does. Clone is very similar to vfork and fork, and the new stop reply is likewise handled similarly. The stub reports "T05clone:...". GDBserver core is taught to handle TARGET_WAITKIND_THREAD_CLONED and forward it to GDB in this patch, but no backend actually emits it yet. That will be done in a following patch. Documentation for this new remote protocol feature is included in a documentation patch later in the series. Reviewed-By: Andrew Burgess Change-Id: If271f20320d864f074d8ac0d531cc1a323da847f Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D19675 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D27830 --=20 You are receiving this mail because: You are on the CC list for the bug.=