Skip to content

Commit ea659ea

Browse files
committed
Log in SetPrivateState when unwind logging enabled
It is easier to read the unwind logging when you can see when the inferior resumes / stops and we're doing new unwinds.
1 parent b627802 commit ea659ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/source/Target/Process.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1352,8 +1352,8 @@ void Process::SetPrivateState(StateType new_state) {
13521352
if (m_finalizing)
13531353
return;
13541354

1355-
Log *log(lldb_private::GetLogIfAnyCategoriesSet(LIBLLDB_LOG_STATE |
1356-
LIBLLDB_LOG_PROCESS));
1355+
Log *log(lldb_private::GetLogIfAnyCategoriesSet(
1356+
LIBLLDB_LOG_STATE | LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_UNWIND));
13571357
bool state_changed = false;
13581358

13591359
LLDB_LOGF(log, "Process::SetPrivateState (%s)", StateAsCString(new_state));

0 commit comments

Comments
 (0)