[Lldb-commits] [lldb] r128237 - /lldb/trunk/source/Plugins/Process/Utility/ARMUtils.h

Caroline Tice ctice at apple.com
Thu Mar 24 14:11:26 PDT 2011


Author: ctice
Date: Thu Mar 24 16:11:26 2011
New Revision: 128237

URL: http://llvm.org/viewvc/llvm-project?rev=128237&view=rev
Log:

Fix small bug in ThumbExpandImm_C; arguments to a call to 'bits' were
in the wrong order.


Modified:
    lldb/trunk/source/Plugins/Process/Utility/ARMUtils.h

Modified: lldb/trunk/source/Plugins/Process/Utility/ARMUtils.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/ARMUtils.h?rev=128237&r1=128236&r2=128237&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/ARMUtils.h (original)
+++ lldb/trunk/source/Plugins/Process/Utility/ARMUtils.h Thu Mar 24 16:11:26 2011
@@ -267,7 +267,7 @@
 
     if (bits(imm12, 11, 10) == 0)
     {
-        switch (bits(imm12, 8, 9)) {
+        switch (bits(imm12, 9, 8)) {
         case 0:
             imm32 = abcdefgh;
             break;





More information about the lldb-commits mailing list