Fixed an issue with the MacOSX backchain register context where the pc was

being returned for both the PC and FP.

llvm-svn: 131081
This commit is contained in:
Greg Clayton 2011-05-09 03:39:34 +00:00
parent e155a3d8aa
commit 0e4851641f
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ RegisterContextMacOSXFrameBackchain::ReadRegisterValue (uint32_t reg, Scalar &va
case LLDB_REGNUM_GENERIC_FP:
if (m_cursor.fp == LLDB_INVALID_ADDRESS)
return false;
reg_value = m_cursor.pc;
reg_value = m_cursor.fp;
break;
default: