From 5d1349914a19a0a71dc5a08047ce0b20da6724c0 Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Tue, 19 Nov 2019 13:25:46 +0000 Subject: [PATCH] Allow ptrace to set the probram counter on arm64. Sponsored by: DARPA, AFRL --- sys/arm64/arm64/machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/arm64/machdep.c b/sys/arm64/arm64/machdep.c index 236c33bc285..0bae648c8d2 100644 --- a/sys/arm64/arm64/machdep.c +++ b/sys/arm64/arm64/machdep.c @@ -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); }