diff options
| author | Greg Clayton <gclayton@apple.com> | 2011-05-09 03:39:34 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2011-05-09 03:39:34 +0000 |
| commit | 0e4851641f53d0ccbd0d54fcd569db6d3095c73d (patch) | |
| tree | 0a3287082010a56b55438260880a0bd51872f964 | |
| parent | e155a3d8aab15eb1f59bb514cae1800a527a0580 (diff) | |
| download | bcm5719-llvm-0e4851641f53d0ccbd0d54fcd569db6d3095c73d.tar.gz bcm5719-llvm-0e4851641f53d0ccbd0d54fcd569db6d3095c73d.zip | |
Fixed an issue with the MacOSX backchain register context where the pc was
being returned for both the PC and FP.
llvm-svn: 131081
| -rw-r--r-- | lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp index 851d924c661..0263d77bae5 100644 --- a/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp +++ b/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp @@ -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: |

