brucem created this revision.
brucem added reviewers: tfiala, granata.enrico, clayborg.
brucem added a subscriber: lldb-commits.

http://reviews.llvm.org/D13125

Files:
  source/Host/macosx/Host.mm

Index: source/Host/macosx/Host.mm
===================================================================
--- source/Host/macosx/Host.mm
+++ source/Host/macosx/Host.mm
@@ -1345,13 +1345,13 @@
         FileSpec expand_tool_spec;
         if (!HostInfo::GetLLDBPath(lldb::ePathTypeSupportExecutableDir, 
expand_tool_spec))
         {
-            error.SetErrorString("could not find argdumper tool");
+            error.SetErrorString("could not get support executable directory 
for argdumper tool");
             return error;
         }
         expand_tool_spec.AppendPathComponent("argdumper");
         if (!expand_tool_spec.Exists())
         {
-            error.SetErrorString("could not find argdumper tool");
+            error.SetErrorStringWithFormat("could not find argdumper tool: 
%s", expand_tool_spec.GetPath().c_str());
             return error;
         }
 


Index: source/Host/macosx/Host.mm
===================================================================
--- source/Host/macosx/Host.mm
+++ source/Host/macosx/Host.mm
@@ -1345,13 +1345,13 @@
         FileSpec expand_tool_spec;
         if (!HostInfo::GetLLDBPath(lldb::ePathTypeSupportExecutableDir, expand_tool_spec))
         {
-            error.SetErrorString("could not find argdumper tool");
+            error.SetErrorString("could not get support executable directory for argdumper tool");
             return error;
         }
         expand_tool_spec.AppendPathComponent("argdumper");
         if (!expand_tool_spec.Exists())
         {
-            error.SetErrorString("could not find argdumper tool");
+            error.SetErrorStringWithFormat("could not find argdumper tool: %s", expand_tool_spec.GetPath().c_str());
             return error;
         }
 
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to