[Lldb-commits] [lldb] r191027 - Fix build failures under GNU/Linux running on mips
Sylvestre Ledru
sylvestre at debian.org
Thu Sep 19 12:06:57 PDT 2013
Author: sylvestre
Date: Thu Sep 19 14:06:57 2013
New Revision: 191027
URL: http://llvm.org/viewvc/llvm-project?rev=191027&view=rev
Log:
Fix build failures under GNU/Linux running on mips
Modified:
lldb/trunk/source/Plugins/Process/Linux/LinuxSignals.cpp
lldb/trunk/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp
Modified: lldb/trunk/source/Plugins/Process/Linux/LinuxSignals.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/LinuxSignals.cpp?rev=191027&r1=191026&r2=191027&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/LinuxSignals.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Linux/LinuxSignals.cpp Thu Sep 19 14:06:57 2013
@@ -45,7 +45,9 @@ LinuxSignals::Reset()
ADDSIGNAL(PIPE, false, true, true, "write to pipe with reading end closed");
ADDSIGNAL(ALRM, false, false, true, "alarm");
ADDSIGNAL(TERM, false, true, true, "termination requested");
+#ifdef SIGSTKFLT
ADDSIGNAL(STKFLT, false, true, true, "stack fault");
+#endif
ADDSIGNAL(CHLD, false, false, true, "child process exit");
ADDSIGNAL(CONT, false, true, true, "process continue");
ADDSIGNAL(STOP, false, true, true, "process stop");
Modified: lldb/trunk/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp?rev=191027&r1=191026&r2=191027&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp Thu Sep 19 14:06:57 2013
@@ -147,9 +147,9 @@ RegisterContextMacOSXFrameBackchain::Rea
}
break;
- // TOOD: need a better way to detect when "long double" types are
+ // TOOD: need a better way to detect when "long double" types are
// the same bytes size as "double"
-#if !defined(__arm__) && !defined(_MSC_VER)
+#if !defined(__arm__) && !defined(_MSC_VER) && !defined(__mips__)
case sizeof (long double):
if (sizeof (long double) == sizeof(uint32_t))
{
More information about the lldb-commits
mailing list