summaryrefslogtreecommitdiff
path: root/debian/patches/lldb-arm64.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/lldb-arm64.diff')
-rw-r--r--debian/patches/lldb-arm64.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/lldb-arm64.diff b/debian/patches/lldb-arm64.diff
new file mode 100644
index 0000000..f0b7544
--- /dev/null
+++ b/debian/patches/lldb-arm64.diff
@@ -0,0 +1,12 @@
+Index: llvm-toolchain-3.8-3.8.1/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
+--- llvm-toolchain-3.8-3.8.1.orig/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp 2016/01/11 10:39:09 257322
++++ llvm-toolchain-3.8-3.8.1/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp 2016/04/12 05:40:51 266042
+@@ -32,6 +32,8 @@
+ #include <sys/socket.h>
+ // NT_PRSTATUS and NT_FPREGSET definition
+ #include <elf.h>
++// user_hwdebug_state definition
++#include <asm/ptrace.h>
+
+ #define REG_CONTEXT_SIZE (GetGPRSize() + GetFPRSize())
+