[Lldb-commits] [lldb] r165192 - /lldb/trunk/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp

Jason Molenda jmolenda at apple.com
Wed Oct 3 19:06:31 PDT 2012


Author: jmolenda
Date: Wed Oct  3 21:06:30 2012
New Revision: 165192

URL: http://llvm.org/viewvc/llvm-project?rev=165192&view=rev
Log:
Remove a few debug printf's that were left in ProcessKDP.

Modified:
    lldb/trunk/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp

Modified: lldb/trunk/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp?rev=165192&r1=165191&r2=165192&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp (original)
+++ lldb/trunk/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp Wed Oct  3 21:06:30 2012
@@ -255,13 +255,11 @@
                 }
                 else
                 {
-                    puts ("KDP_CONNECT failed"); // REMOVE THIS
                     error.SetErrorString("KDP_REATTACH failed");
                 }
             }
             else
             {
-                puts ("KDP_REATTACH failed"); // REMOVE THIS
                 error.SetErrorString("KDP_REATTACH failed");
             }
         }
@@ -372,17 +370,14 @@
             case eStateSuspended:
                 // Nothing to do here when a thread will stay suspended
                 // we just leave the CPU mask bit set to zero for the thread
-                puts("REMOVE THIS: ProcessKDP::DoResume () -- thread suspended");
                 break;
                 
             case eStateStepping:
-                puts("REMOVE THIS: ProcessKDP::DoResume () -- thread stepping");
                 kernel_thread_sp->GetRegisterContext()->HardwareSingleStep (true);
                 resume = true;
                 break;
     
             case eStateRunning:
-                puts("REMOVE THIS: ProcessKDP::DoResume () -- thread running");
                 kernel_thread_sp->GetRegisterContext()->HardwareSingleStep (false);
                 resume = true;
                 break;





More information about the lldb-commits mailing list