[Lldb-commits] [lldb] r243732 - Add another log to the Host channel for logging
Jason Molenda
jmolenda at apple.com
Thu Jul 30 21:21:25 PDT 2015
Author: jmolenda
Date: Thu Jul 30 23:21:25 2015
New Revision: 243732
URL: http://llvm.org/viewvc/llvm-project?rev=243732&view=rev
Log:
Add another log to the Host channel for logging
the actions taken when trying to locate binaries.
Modified:
lldb/trunk/source/Commands/CommandObjectTarget.cpp
Modified: lldb/trunk/source/Commands/CommandObjectTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectTarget.cpp?rev=243732&r1=243731&r2=243732&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectTarget.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectTarget.cpp Thu Jul 30 23:21:25 2015
@@ -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),
More information about the lldb-commits
mailing list