aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectTarget.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2015-07-31 04:21:25 +0000
committerJason Molenda <jmolenda@apple.com>2015-07-31 04:21:25 +0000
commit7138765d45bf8efcc302dd0a35b2e8bb5f9a81cf (patch)
tree1bb28d8d8b47704e5ee680d69a42e2ba5a5e7c05 /lldb/source/Commands/CommandObjectTarget.cpp
parente1ce344b5aed0e915e86dae9db834b6a9826bd68 (diff)
downloadllvm-7138765d45bf8efcc302dd0a35b2e8bb5f9a81cf.zip
llvm-7138765d45bf8efcc302dd0a35b2e8bb5f9a81cf.tar.gz
llvm-7138765d45bf8efcc302dd0a35b2e8bb5f9a81cf.tar.bz2
Add another log to the Host channel for logging
the actions taken when trying to locate binaries. llvm-svn: 243732
Diffstat (limited to 'lldb/source/Commands/CommandObjectTarget.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectTarget.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp
index 448da0e..03d1156 100644
--- a/lldb/source/Commands/CommandObjectTarget.cpp
+++ b/lldb/source/Commands/CommandObjectTarget.cpp
@@ -1161,6 +1161,12 @@ protected:
if (from[0] && to[0])
{
+ Log *log = lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_HOST);
+ if (log)
+ {
+ log->Printf ("target modules search path adding ImageSearchPath pair: '%s' -> '%s'",
+ from, to);
+ }
bool last_pair = ((argc - i) == 2);
target->GetImageSearchPathList().Append (ConstString(from),
ConstString(to),