diff options
author | Jason Molenda <jmolenda@apple.com> | 2011-09-16 01:32:10 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2011-09-16 01:32:10 +0000 |
commit | 113f2d5289cb6a1a30376da9d320167b22d0fad1 (patch) | |
tree | 2355069a07e992e9ab9ab824714d1879c30ee587 /lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp | |
parent | 3cc78e608ea3050f810821036eba5903a38b9798 (diff) | |
download | bcm5719-llvm-113f2d5289cb6a1a30376da9d320167b22d0fad1.tar.gz bcm5719-llvm-113f2d5289cb6a1a30376da9d320167b22d0fad1.zip |
Tighten up the 'log enable lldb unwind' printing for
the arm emulate instruction unwinder so you can leave it
on by default and not be overwhelmed. Set verbose mode to
get the full story on how the unwindplans were created.
llvm-svn: 139897
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp index 5a4e8b44d4a..d4696b0ed97 100644 --- a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp +++ b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp @@ -886,7 +886,7 @@ RegisterContextLLDB::SavedLocationForRegister (uint32_t lldb_regnum, RegisterLoc if (active_row->GetRegisterInfo (row_regnum, unwindplan_regloc)) { have_unwindplan_regloc = true; - if (log && IsLogVerbose ()) + if (log) { log->Printf("%*sFrame %u supplying caller's saved reg %d's location using %s UnwindPlan", m_frame_number < 100 ? m_frame_number : 100, "", m_frame_number, @@ -906,7 +906,7 @@ RegisterContextLLDB::SavedLocationForRegister (uint32_t lldb_regnum, RegisterLoc const RegisterInfo *reg_info = GetRegisterInfoAtIndex(lldb_regnum); if (reg_info && abi->RegisterIsVolatile (reg_info)) { - if (log) + if (log && IsLogVerbose ()) { log->Printf("%*sFrame %u did not supply reg location for %d because it is volatile", m_frame_number < 100 ? m_frame_number : 100, "", m_frame_number, @@ -1136,7 +1136,7 @@ RegisterContextLLDB::ReadRegister (const RegisterInfo *reg_info, RegisterValue & // If this is the 0th frame, hand this over to the live register context if (IsFrameZero ()) { - if (log) + if (log && IsLogVerbose ()) { log->Printf("%*sFrame %u passing along to the live register context for reg %d", m_frame_number < 100 ? m_frame_number : 100, "", m_frame_number, @@ -1171,7 +1171,7 @@ RegisterContextLLDB::WriteRegister (const RegisterInfo *reg_info, const Register // If this is the 0th frame, hand this over to the live register context if (IsFrameZero ()) { - if (log) + if (log && IsLogVerbose ()) { log->Printf("%*sFrame %u passing along to the live register context for reg %d", m_frame_number < 100 ? m_frame_number : 100, "", m_frame_number, |