[Lldb-commits] [lldb] r124941 - /lldb/trunk/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp

Greg Clayton gclayton at apple.com
Fri Feb 4 22:35:06 PST 2011


Author: gclayton
Date: Sat Feb  5 00:35:06 2011
New Revision: 124941

URL: http://llvm.org/viewvc/llvm-project?rev=124941&view=rev
Log:
Apple specific change from Kirk Beitz.


Modified:
    lldb/trunk/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp?rev=124941&r1=124940&r2=124941&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp Sat Feb  5 00:35:06 2011
@@ -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 @@
         {
             m_unwinder_ap.reset (new UnwindLLDB (*this));
         }
+#ifdef __APPLE__
         else
         {
             m_unwinder_ap.reset (new UnwindMacOSXFrameBackchain (*this));
         }
+#endif
     }
     return m_unwinder_ap.get();
 }





More information about the lldb-commits mailing list