svn commit: r354852 - head/sys/arm64/arm64

Andrew Turner andrew at FreeBSD.org
Tue Nov 19 13:25:46 UTC 2019


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);
 }
 


More information about the svn-src-all mailing list