[Lldb-commits] [lldb] r183253 - Add a more clear explanation of what is missing for core files with no LC_THREAD load commands.

Greg Clayton gclayton at apple.com
Tue Jun 4 14:48:36 PDT 2013


Author: gclayton
Date: Tue Jun  4 16:48:36 2013
New Revision: 183253

URL: http://llvm.org/viewvc/llvm-project?rev=183253&view=rev
Log:
Add a more clear explanation of what is missing for core files with no LC_THREAD load commands.


Modified:
    lldb/trunk/source/Plugins/Process/mach-core/ProcessMachCore.cpp

Modified: lldb/trunk/source/Plugins/Process/mach-core/ProcessMachCore.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/mach-core/ProcessMachCore.cpp?rev=183253&r1=183252&r2=183253&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/mach-core/ProcessMachCore.cpp (original)
+++ lldb/trunk/source/Plugins/Process/mach-core/ProcessMachCore.cpp Tue Jun  4 16:48:36 2013
@@ -216,7 +216,7 @@ ProcessMachCore::DoLoadCore ()
     
     if (core_objfile->GetNumThreadContexts() == 0)
     {
-        error.SetErrorString ("core file doesn't contain any recognized thread contexts");
+        error.SetErrorString ("core file doesn't contain any LC_THREAD load commands, or the LC_THREAD architecture is not supported in this lldb");
         return error;
     }
 





More information about the lldb-commits mailing list