38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
From 5e391985709f0ab585d46ad534b4f3b48c6a68f9 Mon Sep 17 00:00:00 2001
|
|
From: Pavel Labath <pavel@labath.sk>
|
|
Date: Wed, 29 Jun 2022 14:48:54 +0200
|
|
Subject: [PATCH] [lldb] Replace linux/uio.h with sys/uio.h in
|
|
NativeRegisterContextLinux_s390x
|
|
|
|
Fixes PR56280.
|
|
---
|
|
.../Process/Linux/NativeRegisterContextLinux_s390x.cpp | 6 ++----
|
|
1 file changed, 2 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_s390x.cpp b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_s390x.cpp
|
|
index 0c3afd66ee25..121f405e546e 100644
|
|
--- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_s390x.cpp
|
|
+++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_s390x.cpp
|
|
@@ -10,16 +10,14 @@
|
|
|
|
#include "NativeRegisterContextLinux_s390x.h"
|
|
#include "Plugins/Process/Linux/NativeProcessLinux.h"
|
|
+#include "Plugins/Process/Utility/RegisterContextLinux_s390x.h"
|
|
#include "lldb/Host/HostInfo.h"
|
|
#include "lldb/Utility/DataBufferHeap.h"
|
|
#include "lldb/Utility/Log.h"
|
|
#include "lldb/Utility/RegisterValue.h"
|
|
#include "lldb/Utility/Status.h"
|
|
-
|
|
-#include "Plugins/Process/Utility/RegisterContextLinux_s390x.h"
|
|
-
|
|
-#include <linux/uio.h>
|
|
#include <sys/ptrace.h>
|
|
+#include <sys/uio.h>
|
|
|
|
using namespace lldb_private;
|
|
using namespace lldb_private::process_linux;
|
|
--
|
|
2.37.1
|
|
|