From 6d12021a7ec4462362dd734ca676a991f2e2603a Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Wed, 16 Jul 2014 00:27:50 +0200 Subject: [PATCH] Add valgrind-3.9.0-arm64-user_regs.patch --- valgrind-3.9.0-arm64-user_regs.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 valgrind-3.9.0-arm64-user_regs.patch diff --git a/valgrind-3.9.0-arm64-user_regs.patch b/valgrind-3.9.0-arm64-user_regs.patch new file mode 100644 index 0000000..2ebdf6d --- /dev/null +++ b/valgrind-3.9.0-arm64-user_regs.patch @@ -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