summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2018-05-01 00:42:17 +0000
committerJason Molenda <jmolenda@apple.com>2018-05-01 00:42:17 +0000
commit3678be89f7e6a8a94643e3807c78b84efcb389ef (patch)
tree3abab0016dca73c69a5cfd17783fc165ec878376 /lldb
parentd5dc819a5c6fb0138308cb52096e30d28d4a52b4 (diff)
downloadbcm5719-llvm-3678be89f7e6a8a94643e3807c78b84efcb389ef.tar.gz
bcm5719-llvm-3678be89f7e6a8a94643e3807c78b84efcb389ef.zip
Log to the process channel, not target twice.
llvm-svn: 331239
Diffstat (limited to 'lldb')
-rw-r--r--lldb/source/Utility/ArchSpec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Utility/ArchSpec.cpp b/lldb/source/Utility/ArchSpec.cpp
index 72e30cf8bbe..ac4330d5d81 100644
--- a/lldb/source/Utility/ArchSpec.cpp
+++ b/lldb/source/Utility/ArchSpec.cpp
@@ -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);
}
OpenPOWER on IntegriCloud