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);
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"