Add valgrind-3.9.0-arm64-user_regs.patch

This commit is contained in:
Mark Wielaard 2014-07-16 00:27:50 +02:00
parent 0c75a5c4f9
commit 6d12021a7e

View File

@ -0,0 +1,22 @@
Index: valgrind/coregrind/vgdb-invoker-ptrace.c
===================================================================
--- valgrind/coregrind/vgdb-invoker-ptrace.c (revision 14165)
+++ valgrind/coregrind/vgdb-invoker-ptrace.c (working copy)
@@ -515,7 +515,7 @@
}
# if defined(VGA_arm64)
-static struct user_pt_regs user_save;
+static struct user_regs_struct user_save;
# else
static struct user user_save;
# endif
@@ -783,7 +783,7 @@
long res;
Bool stopped;
# if defined(VGA_arm64)
- struct user_pt_regs user_mod;
+ struct user_regs_struct user_mod;
# else
struct user user_mod;
# endif