Hello,

tools/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp:
In member function 'virtual bool
RegisterContextMacOSXFrameBackchain::ReadRegister(const
lldb_private::RegisterInfo*, lldb_private::RegisterValue&)':
tools/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp:153:9:
error: duplicate case value
tools/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp:137:9:
error: previously used here

Line 137 :
        case sizeof (double):
Line 153:
// TOOD: need a better way to detect when "long double" types are
// the same bytes size as "double"
#if !defined(__arm__)
        case sizeof (long double):

I could commit the attached patch but I wonder if there is not a better
solution.

Thanks
Sylvestre

Index: source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp
===================================================================
--- source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp	(révision 181871)
+++ source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp	(copie de travail)
@@ -149,7 +149,7 @@
 
             // TOOD: need a better way to detect when "long double" types are 
             // the same bytes size as "double"
-#if !defined(__arm__)
+#if !defined(__arm__) && !defined(__MIPSEL__)
         case sizeof (long double):
             if (sizeof (long double) == sizeof(uint32_t))
             {
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to