From 4c2c0fcb9f01d0d1bc8cfed91de68c34e1d784d5 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Sat, 5 Feb 2011 06:35:06 +0000 Subject: Apple specific change from Kirk Beitz. llvm-svn: 124941 --- lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp') diff --git a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp index d3676f075f3..9467801500e 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp @@ -23,9 +23,12 @@ #include "ProcessGDBRemote.h" #include "ProcessGDBRemoteLog.h" #include "Utility/StringExtractorGDBRemote.h" -#include "UnwindMacOSXFrameBackchain.h" #include "UnwindLLDB.h" +#ifdef __APPLE__ +#include "UnwindMacOSXFrameBackchain.h" +#endif + using namespace lldb; using namespace lldb_private; @@ -138,10 +141,12 @@ ThreadGDBRemote::GetUnwinder () { m_unwinder_ap.reset (new UnwindLLDB (*this)); } +#ifdef __APPLE__ else { m_unwinder_ap.reset (new UnwindMacOSXFrameBackchain (*this)); } +#endif } return m_unwinder_ap.get(); } -- cgit v1.2.3