[Lldb-commits] [lldb] r181789 - Avoid $rax for 32-bit inferiors to fix a failing i386 test on the darwin buildbots.
Ashok Thirumurthi
ashok.thirumurthi at intel.com
Tue May 14 06:34:25 PDT 2013
Author: athirumu
Date: Tue May 14 08:34:25 2013
New Revision: 181789
URL: http://llvm.org/viewvc/llvm-project?rev=181789&view=rev
Log:
Avoid $rax for 32-bit inferiors to fix a failing i386 test on the darwin buildbots.
Modified:
lldb/trunk/test/functionalities/register/TestRegisters.py
Modified: lldb/trunk/test/functionalities/register/TestRegisters.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/register/TestRegisters.py?rev=181789&r1=181788&r2=181789&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/register/TestRegisters.py (original)
+++ lldb/trunk/test/functionalities/register/TestRegisters.py Tue May 14 08:34:25 2013
@@ -189,8 +189,9 @@ class RegisterCommandsTestCase(TestBase)
self.expect("expr/x $eax",
substrs = ['unsigned int', ' = 0x'])
- self.expect("expr -- ($rax & 0xffffffff) == $eax",
- substrs = ['true'])
+ if self.getArchitecture() in ['x86_64']:
+ self.expect("expr -- ($rax & 0xffffffff) == $eax",
+ substrs = ['true'])
self.expect("expr $xmm0",
substrs = ['vector_type'])
@@ -235,8 +236,9 @@ class RegisterCommandsTestCase(TestBase)
# Check that "register read eax" works.
self.runCmd("register read eax")
- self.expect("expr -- ($rax & 0xffffffff) == $eax",
- substrs = ['true'])
+ if self.getArchitecture() in ['x86_64']:
+ self.expect("expr -- ($rax & 0xffffffff) == $eax",
+ substrs = ['true'])
self.expect("expr -- $ax == (($ah << 8) | $al)",
substrs = ['true'])
More information about the lldb-commits
mailing list