summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-02-02 15:16:20 +0000
committerPavel Labath <labath@google.com>2016-02-02 15:16:20 +0000
commitd2474ff5135e9c73cf7b88dfaac5924bbc471190 (patch)
treed51c5f4fba84f9dd8339106c959a5a72e7c03448
parent148e4b7f6608a3fba9d8cecb18bf1acaca27719d (diff)
downloadbcm5719-llvm-d2474ff5135e9c73cf7b88dfaac5924bbc471190.tar.gz
bcm5719-llvm-d2474ff5135e9c73cf7b88dfaac5924bbc471190.zip
Log error message in SBTarget::Launch
llvm-svn: 259514
-rw-r--r--lldb/source/API/SBTarget.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/API/SBTarget.cpp b/lldb/source/API/SBTarget.cpp
index c7595c3c39f..a3d4ccc0931 100644
--- a/lldb/source/API/SBTarget.cpp
+++ b/lldb/source/API/SBTarget.cpp
@@ -372,9 +372,8 @@ SBTarget::Launch
log = lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API);
if (log)
- log->Printf ("SBTarget(%p)::Launch (...) => SBProcess(%p)",
- static_cast<void*>(target_sp.get()),
- static_cast<void*>(sb_process.GetSP().get()));
+ log->Printf("SBTarget(%p)::Launch (...) => SBProcess(%p), SBError(%s)", static_cast<void *>(target_sp.get()),
+ static_cast<void *>(sb_process.GetSP().get()), error.GetCString());
return sb_process;
}
OpenPOWER on IntegriCloud