Fix compilation of lwarx patch
This commit is contained in:
parent
4fa0e1498d
commit
bd055bc425
@ -14,6 +14,14 @@ diff --git a/sysdeps/linux-gnu/ppc/trace.c b/sysdeps/linux-gnu/ppc/trace.c
|
||||
index 8642157..05993de 100644
|
||||
--- a/sysdeps/linux-gnu/ppc/trace.c
|
||||
+++ b/sysdeps/linux-gnu/ppc/trace.c
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
#include "common.h"
|
||||
#include "ptrace.h"
|
||||
+#include "breakpoint.h"
|
||||
|
||||
#if (!defined(PTRACE_PEEKUSER) && defined(PTRACE_PEEKUSR))
|
||||
# define PTRACE_PEEKUSER PTRACE_PEEKUSR
|
||||
@@ -197,3 +197,85 @@ arch_umovelong (Process *proc, void *addr, long *result, arg_type_info *info) {
|
||||
memcpy(&arch->regs_copy, &arch->regs, sizeof(arch->regs));
|
||||
memcpy(&arch->fpregs_copy, &arch->fpregs, sizeof(arch->fpregs));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user