[Lldb-commits] [lldb] r176753 - Remove my print statements I was using for debugging.

Greg Clayton gclayton at apple.com
Fri Mar 8 18:29:04 PST 2013


Author: gclayton
Date: Fri Mar  8 20:29:04 2013
New Revision: 176753

URL: http://llvm.org/viewvc/llvm-project?rev=176753&view=rev
Log:
Remove my print statements I was using for debugging.


Modified:
    lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp?rev=176753&r1=176752&r2=176753&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp Fri Mar  8 20:29:04 2013
@@ -922,7 +922,6 @@ GDBRemoteDynamicRegisterInfo::HardcodeAR
                 {
                     if (strcmp(m_regs[i].name, g_register_infos[i].name))
                     {
-                        printf ("[%zu] name %s != %s\n", i, m_regs[i].name, g_register_infos[i].name);
                         match = false;
                         break;
                     }
@@ -931,7 +930,6 @@ GDBRemoteDynamicRegisterInfo::HardcodeAR
                 // Make sure all register byte sizes match
                 if (m_regs[i].byte_size != g_register_infos[i].byte_size)
                 {
-                    printf ("[%zu] size %u != %u\n", i, m_regs[i].byte_size, g_register_infos[i].byte_size);
                     match = false;
                     break;
                 }
@@ -940,15 +938,8 @@ GDBRemoteDynamicRegisterInfo::HardcodeAR
         else
         {
             // Wrong number of registers.
-            printf ("reg count %zu != %u\n", num_dynamic_regs, num_registers);
             match = false;
         }
-        
-        if (match)
-            puts("ARM registers match, adding hard coded junk");
-        else
-            puts("ARM registers don't match, not adding junk");
-
         // If "match" is true, then we can add extra registers.
         if (match)
         {





More information about the lldb-commits mailing list