forked from OSchip/llvm-project
Revert last checking to ThreadGDBRemote.cpp; I accidentally checked
that in along with some cleanup work with the native unwinder code. llvm-svn: 118242
This commit is contained in:
parent
dae97b4a29
commit
311eb2deec
|
@ -26,8 +26,6 @@
|
||||||
#include "Utility/StringExtractorGDBRemote.h"
|
#include "Utility/StringExtractorGDBRemote.h"
|
||||||
#include "UnwindLibUnwind.h"
|
#include "UnwindLibUnwind.h"
|
||||||
#include "UnwindMacOSXFrameBackchain.h"
|
#include "UnwindMacOSXFrameBackchain.h"
|
||||||
#include "UnwindLLDB.h"
|
|
||||||
#include "RegisterContextLLDB.h"
|
|
||||||
|
|
||||||
using namespace lldb;
|
using namespace lldb;
|
||||||
using namespace lldb_private;
|
using namespace lldb_private;
|
||||||
|
@ -130,7 +128,7 @@ ThreadGDBRemote::GetUnwinder ()
|
||||||
const ArchSpec target_arch (GetProcess().GetTarget().GetArchitecture ());
|
const ArchSpec target_arch (GetProcess().GetTarget().GetArchitecture ());
|
||||||
if (target_arch == ArchSpec("x86_64") || target_arch == ArchSpec("i386"))
|
if (target_arch == ArchSpec("x86_64") || target_arch == ArchSpec("i386"))
|
||||||
{
|
{
|
||||||
m_unwinder_ap.reset (new UnwindLLDB (*this));
|
m_unwinder_ap.reset (new UnwindLibUnwind (*this, GetGDBProcess().GetLibUnwindAddressSpace()));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue