diff options
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote')
4 files changed, 0 insertions, 54 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 1f0bc149833..934c00a3d1a 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -45,7 +45,6 @@ #include "ProcessGDBRemote.h" #include "ProcessGDBRemoteLog.h" #include "ThreadGDBRemote.h" -#include "MacOSXLibunwindCallbacks.h" #include "StopInfoMachException.h" @@ -119,8 +118,6 @@ ProcessGDBRemote::ProcessGDBRemote(Target& target, Listener &listener) : m_dispatch_queue_offsets_addr (LLDB_INVALID_ADDRESS), m_packet_timeout (1), m_max_memory_size (512), - m_libunwind_target_type (UNW_TARGET_UNSPECIFIED), - m_libunwind_addr_space (NULL), m_waiting_for_attach (false), m_local_debugserver (true) { @@ -1615,7 +1612,6 @@ ProcessGDBRemote::Clear() Mutex::Locker locker(m_stdio_mutex); m_stdout_data.clear(); } - DestoryLibUnwindAddressSpace(); } Error @@ -2170,45 +2166,6 @@ ProcessGDBRemote::AsyncThread (void *arg) return NULL; } -lldb_private::unw_addr_space_t -ProcessGDBRemote::GetLibUnwindAddressSpace () -{ - unw_targettype_t target_type = UNW_TARGET_UNSPECIFIED; - - ArchSpec::CPU arch_cpu = m_target.GetArchitecture().GetGenericCPUType(); - if (arch_cpu == ArchSpec::eCPU_i386) - target_type = UNW_TARGET_I386; - else if (arch_cpu == ArchSpec::eCPU_x86_64) - target_type = UNW_TARGET_X86_64; - - if (m_libunwind_addr_space) - { - if (m_libunwind_target_type != target_type) - DestoryLibUnwindAddressSpace(); - else - return m_libunwind_addr_space; - } - unw_accessors_t callbacks = get_macosx_libunwind_callbacks (); - m_libunwind_addr_space = unw_create_addr_space (&callbacks, target_type); - if (m_libunwind_addr_space) - m_libunwind_target_type = target_type; - else - m_libunwind_target_type = UNW_TARGET_UNSPECIFIED; - return m_libunwind_addr_space; -} - -void -ProcessGDBRemote::DestoryLibUnwindAddressSpace () -{ - if (m_libunwind_addr_space) - { - unw_destroy_addr_space (m_libunwind_addr_space); - m_libunwind_addr_space = NULL; - } - m_libunwind_target_type = UNW_TARGET_UNSPECIFIED; -} - - const char * ProcessGDBRemote::GetDispatchQueueNameForThread ( diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h index a2b5898b34e..74905d0e646 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h @@ -29,7 +29,6 @@ #include "GDBRemoteCommunication.h" #include "Utility/StringExtractor.h" #include "GDBRemoteRegisterContext.h" -#include "libunwind/include/libunwind.h" class ThreadGDBRemote; @@ -335,8 +334,6 @@ protected: lldb::addr_t m_dispatch_queue_offsets_addr; uint32_t m_packet_timeout; size_t m_max_memory_size; // The maximum number of bytes to read/write when reading and writing memory - lldb_private::unw_targettype_t m_libunwind_target_type; - lldb_private::unw_addr_space_t m_libunwind_addr_space; // libunwind address space object for this process. bool m_waiting_for_attach; bool m_local_debugserver; // Is the debugserver process we are talking to local or on another machine. @@ -384,11 +381,6 @@ private: //------------------------------------------------------------------ DISALLOW_COPY_AND_ASSIGN (ProcessGDBRemote); - lldb_private::unw_addr_space_t - GetLibUnwindAddressSpace (); - - void - DestoryLibUnwindAddressSpace (); }; #endif // liblldb_ProcessGDBRemote_h_ diff --git a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp index c1b5fa47d93..f5491cb9202 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp @@ -20,11 +20,9 @@ #include "lldb/Target/Unwind.h" #include "lldb/Breakpoint/WatchpointLocation.h" -#include "LibUnwindRegisterContext.h" #include "ProcessGDBRemote.h" #include "ProcessGDBRemoteLog.h" #include "Utility/StringExtractorGDBRemote.h" -#include "UnwindLibUnwind.h" #include "UnwindMacOSXFrameBackchain.h" #include "UnwindLLDB.h" diff --git a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h index a6deead8f15..2b7344d128a 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h +++ b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h @@ -14,7 +14,6 @@ #include "lldb/Target/Process.h" #include "lldb/Target/Thread.h" -#include "libunwind/include/libunwind.h" class StringExtractor; class ProcessGDBRemote; |