Index: test/functionalities/register/TestRegisters.py =================================================================== --- test/functionalities/register/TestRegisters.py +++ test/functionalities/register/TestRegisters.py @@ -187,6 +187,13 @@ currentFrame = thread.GetFrameAtIndex(0) self.assertTrue(currentFrame.IsValid(), "current frame is valid") + # Assembly generated by clang and gcc for this inferior is different. + # For clang case: step into next instruction 16 times to reach the + # first 'flds' instruction. For gcc, this is not required + if "clang" in self.getCompiler(): + for x in range(0,16): + self.runCmd ("si", RUN_SUCCEEDED) + # Extract the value of fstat and ftag flag at the point just before # we start pushing floating point values on st% register stack value = currentFrame.FindValue("fstat", lldb.eValueTypeRegister)