diff options
author | Jason Molenda <jmolenda@apple.com> | 2014-01-10 23:53:32 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2014-01-10 23:53:32 +0000 |
commit | 7f6d84b9c1fb50f37e70af3b4e422d9def3ec77e (patch) | |
tree | 360c2c6c34a2a433b517e7c3ac910a545dde78a7 /lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp | |
parent | 1460e4bf0e722086d76de65ef74e76ec54a5534b (diff) | |
download | bcm5719-llvm-7f6d84b9c1fb50f37e70af3b4e422d9def3ec77e.tar.gz bcm5719-llvm-7f6d84b9c1fb50f37e70af3b4e422d9def3ec77e.zip |
Add the offset for cfa+offset log messages in the unwind channel, to aid in debugging.
llvm-svn: 198977
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp index 1c23e233925..899c8c2f20d 100644 --- a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp +++ b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp @@ -1201,7 +1201,7 @@ RegisterContextLLDB::SavedLocationForRegister (uint32_t lldb_regnum, lldb_privat regloc.type = UnwindLLDB::RegisterLocation::eRegisterValueInferred; regloc.location.inferred_value = m_cfa + offset; m_registers[lldb_regnum] = regloc; - UnwindLogMsg ("supplying caller's register %d, value is CFA plus offset", lldb_regnum); + UnwindLogMsg ("supplying caller's register %d, value is CFA plus offset %d", lldb_regnum, offset); return UnwindLLDB::RegisterSearchResult::eRegisterFound; } @@ -1211,7 +1211,7 @@ RegisterContextLLDB::SavedLocationForRegister (uint32_t lldb_regnum, lldb_privat regloc.type = UnwindLLDB::RegisterLocation::eRegisterSavedAtMemoryLocation; regloc.location.target_memory_location = m_cfa + offset; m_registers[lldb_regnum] = regloc; - UnwindLogMsg ("supplying caller's register %d from the stack, saved at CFA plus offset", lldb_regnum); + UnwindLogMsg ("supplying caller's register %d from the stack, saved at CFA plus offset %d", lldb_regnum, offset); return UnwindLLDB::RegisterSearchResult::eRegisterFound; } |