summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
diff options
context:
space:
mode:
authorJames Y Knight <jyknight@google.com>2018-05-23 22:04:20 +0000
committerJames Y Knight <jyknight@google.com>2018-05-23 22:04:20 +0000
commit1a05affa800d24a29436af155f3ec4e1d47cef09 (patch)
treec255bdaf5eb052ad4a7db9670d91a6bdb88849b5 /lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
parent9374c0432b9dc10dc239907671b4f8b8d9653bdb (diff)
downloadbcm5719-llvm-1a05affa800d24a29436af155f3ec4e1d47cef09.tar.gz
bcm5719-llvm-1a05affa800d24a29436af155f3ec4e1d47cef09.zip
Remove spurious dependency on Process/elf-core from Process/Utility.
These checks do absolutely nothing other than cause a library layering violation in the code. llvm-svn: 333134
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp')
-rw-r--r--lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
index 039ca028123..98d1e6fa881 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
@@ -13,6 +13,7 @@
#include "lldb/Core/RegisterValue.h"
#include "lldb/Core/Scalar.h"
+#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Utility/DataBufferHeap.h"
@@ -20,11 +21,10 @@
#include "lldb/Utility/Endian.h"
#include "llvm/Support/Compiler.h"
-#include "Plugins/Process/elf-core/ProcessElfCore.h"
#include "RegisterContextPOSIX_mips64.h"
#include "RegisterContextFreeBSD_mips64.h"
#include "RegisterContextLinux_mips64.h"
-#include "RegisterContextLinux_mips.h"
+#include "RegisterContextLinux_mips.h"
using namespace lldb_private;
using namespace lldb;
@@ -59,11 +59,6 @@ RegisterContextPOSIX_mips64::RegisterContextPOSIX_mips64(
static_cast<uint32_t>(m_registers_count[gpr_registers_count] +
m_registers_count[fpr_registers_count] +
m_registers_count[msa_registers_count]));
-
- // elf-core yet to support ReadFPR()
- ProcessSP base = CalculateProcess();
- if (base.get()->GetPluginName() == ProcessElfCore::GetPluginNameStatic())
- return;
}
RegisterContextPOSIX_mips64::~RegisterContextPOSIX_mips64() {}
OpenPOWER on IntegriCloud