forked from OSchip/llvm-project
Log to the process channel, not target twice.
llvm-svn: 331239
This commit is contained in:
parent
d5dc819a5c
commit
3678be89f7
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue