Date: Tue, 19 Nov 2019 13:25:46 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r354852 - head/sys/arm64/arm64 Message-ID: <201911191325.xAJDPku7020066@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Tue Nov 19 13:25:46 2019 New Revision: 354852 URL: https://svnweb.freebsd.org/changeset/base/354852 Log: Allow ptrace to set the probram counter on arm64. Sponsored by: DARPA, AFRL Modified: head/sys/arm64/arm64/machdep.c Modified: head/sys/arm64/arm64/machdep.c ============================================================================== --- head/sys/arm64/arm64/machdep.c Tue Nov 19 10:57:44 2019 (r354851) +++ head/sys/arm64/arm64/machdep.c Tue Nov 19 13:25:46 2019 (r354852) @@ -412,7 +412,7 @@ int ptrace_set_pc(struct thread *td, u_long addr) { - printf("ARM64TODO: ptrace_set_pc"); + td->td_frame->tf_elr = addr; return (EDOOFUS); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911191325.xAJDPku7020066>