Author: gclayton
Date: Wed Nov 13 17:33:41 2013
New Revision: 194623

URL: http://llvm.org/viewvc/llvm-project?rev=194623&view=rev
Log:
<rdar://problem/14814689>

Add a log message to the console that will display the error code when we fail 
to reply to a mach message.


Modified:
    lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp

Modified: lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp?rev=194623&r1=194622&r2=194623&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp Wed Nov 13 
17:33:41 2013
@@ -428,8 +428,7 @@ MachException::Message::Reply(MachProces
         {
             if (state.task_port == process->Task().TaskPort())
             {
-                if (DNBLogCheckLogBit(LOG_EXCEPTIONS))
-                    err.LogThreaded("::mach_msg() - failed (task)");
+                DNBLogThreaded("error: mach_msg() returned an error when 
replying to a mach exception: error = %u", err.Error());
                 abort ();
             }
             else


_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to