summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-05-09 03:39:34 +0000
committerGreg Clayton <gclayton@apple.com>2011-05-09 03:39:34 +0000
commit0e4851641f53d0ccbd0d54fcd569db6d3095c73d (patch)
tree0a3287082010a56b55438260880a0bd51872f964
parente155a3d8aab15eb1f59bb514cae1800a527a0580 (diff)
downloadbcm5719-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.cpp2
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:
OpenPOWER on IntegriCloud