Log to the process channel, not target twice.

llvm-svn: 331239
This commit is contained in:
Jason Molenda 2018-05-01 00:42:17 +00:00
parent d5dc819a5c
commit 3678be89f7
1 changed files with 1 additions and 1 deletions

View File

@ -980,7 +980,7 @@ bool ArchSpec::SetArchitecture(ArchitectureType arch_type, uint32_t cpu,
m_triple.setArch(core_def->machine);
}
} else {
Log *log(lldb_private::GetLogIfAnyCategoriesSet(LIBLLDB_LOG_TARGET | LIBLLDB_LOG_TARGET | LIBLLDB_LOG_PLATFORM));
Log *log(lldb_private::GetLogIfAnyCategoriesSet(LIBLLDB_LOG_TARGET | LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_PLATFORM));
if (log)
log->Printf("Unable to find a core definition for cpu 0x%" PRIx32 " sub %" PRId32, cpu, sub);
}