Blame SOURCES/0001-PATCH-lldb-Portable-asm-ptrace.h-include.patch

1f4c4e
From 6349965eccf12178cd4235e9f8996142d12ff607 Mon Sep 17 00:00:00 2001
1f4c4e
From: serge-sans-paille <sguelton@redhat.com>
1f4c4e
Date: Thu, 25 Feb 2021 14:27:43 +0100
1f4c4e
Subject: [PATCH 1/2] [PATCH][lldb] Portable  asm/ptrace.h include
1f4c4e
1f4c4e
---
1f4c4e
 lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h | 3 ++-
1f4c4e
 1 file changed, 2 insertions(+), 1 deletion(-)
1f4c4e
1f4c4e
diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h
1f4c4e
index 344eae2..c483abc 100644
1f4c4e
--- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h
1f4c4e
+++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h
1f4c4e
@@ -14,7 +14,8 @@
1f4c4e
 #include "Plugins/Process/Linux/NativeRegisterContextLinux.h"
1f4c4e
 #include "Plugins/Process/Utility/RegisterInfoPOSIX_arm64.h"
1f4c4e
 
1f4c4e
-#include <asm/ptrace.h>
1f4c4e
+#include <sys/ptrace.h>
1f4c4e
+#include <linux/ptrace.h>
1f4c4e
 
1f4c4e
 namespace lldb_private {
1f4c4e
 namespace process_linux {
1f4c4e
-- 
1f4c4e
1.8.3.1
1f4c4e