[Lldb-commits] [lldb] r136800 - in /lldb/trunk/source/Plugins/Process/Utility: RegisterContextMach_arm.cpp RegisterContextMach_i386.cpp RegisterContextMach_x86_64.cpp
Johnny Chen
johnny.chen at apple.com
Wed Aug 3 11:55:26 PDT 2011
Author: johnny
Date: Wed Aug 3 13:55:26 2011
New Revision: 136800
URL: http://llvm.org/viewvc/llvm-project?rev=136800&view=rev
Log:
Patch from David Forsythe for FreeBSD build!
Modified:
lldb/trunk/source/Plugins/Process/Utility/RegisterContextMach_arm.cpp
lldb/trunk/source/Plugins/Process/Utility/RegisterContextMach_i386.cpp
lldb/trunk/source/Plugins/Process/Utility/RegisterContextMach_x86_64.cpp
Modified: lldb/trunk/source/Plugins/Process/Utility/RegisterContextMach_arm.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/RegisterContextMach_arm.cpp?rev=136800&r1=136799&r2=136800&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/RegisterContextMach_arm.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Utility/RegisterContextMach_arm.cpp Wed Aug 3 13:55:26 2011
@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
+#if defined(__APPLE__)
+
#include "RegisterContextMach_arm.h"
// C Includes
@@ -82,4 +84,4 @@
return ::thread_set_state(tid, flavor, (thread_state_t)&dbg, DBGWordCount);
}
-
+#endif
Modified: lldb/trunk/source/Plugins/Process/Utility/RegisterContextMach_i386.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/RegisterContextMach_i386.cpp?rev=136800&r1=136799&r2=136800&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/RegisterContextMach_i386.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Utility/RegisterContextMach_i386.cpp Wed Aug 3 13:55:26 2011
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#if defined(__APPLE__)
// C Includes
#include <mach/thread_act.h>
@@ -68,4 +69,4 @@
return ::thread_set_state(tid, flavor, (thread_state_t)&exc, EXCWordCount);
}
-
+#endif
Modified: lldb/trunk/source/Plugins/Process/Utility/RegisterContextMach_x86_64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/RegisterContextMach_x86_64.cpp?rev=136800&r1=136799&r2=136800&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/RegisterContextMach_x86_64.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Utility/RegisterContextMach_x86_64.cpp Wed Aug 3 13:55:26 2011
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+#if defined(__APPLE__)
// C Includes
#include <mach/thread_act.h>
@@ -68,3 +69,4 @@
return ::thread_set_state(tid, flavor, (thread_state_t)&exc, EXCWordCount);
}
+#endif
More information about the lldb-commits
mailing list