Author: gclayton
Date: Thu Oct 31 16:38:47 2013
New Revision: 193806

URL: http://llvm.org/viewvc/llvm-project?rev=193806&view=rev
Log:
Fixed printf warnings.


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

Modified: lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp?rev=193806&r1=193805&r2=193806&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp Thu Oct 31 
16:38:47 2013
@@ -861,19 +861,19 @@ MachProcess::DisableBreakpoint(nub_addr_
                         }
                         else
                         {
-                            DNBLogError("MachProcess::DisableBreakpoint ( addr 
= 0x%8.8llx, remove = %d ) memory write failed when restoring original opcode", 
addr, remove);
+                            DNBLogError("MachProcess::DisableBreakpoint ( addr 
= 0x%8.8llx, remove = %d ) memory write failed when restoring original opcode", 
(uint64_t)addr, remove);
                         }
                     }
                     else
                     {
-                        DNBLogWarning("MachProcess::DisableBreakpoint ( addr = 
0x%8.8llx, remove = %d ) expected a breakpoint opcode but didn't find one.", 
addr, remove);
+                        DNBLogWarning("MachProcess::DisableBreakpoint ( addr = 
0x%8.8llx, remove = %d ) expected a breakpoint opcode but didn't find one.", 
(uint64_t)addr, remove);
                         // Set verify to true and so we can check if the 
original opcode has already been restored
                         verify = true;
                     }
                 }
                 else
                 {
-                    DNBLogThreadedIf(LOG_BREAKPOINTS | LOG_VERBOSE, 
"MachProcess::DisableBreakpoint ( addr = 0x%8.8llx, remove = %d ) is not 
enabled", addr, remove);
+                    DNBLogThreadedIf(LOG_BREAKPOINTS | LOG_VERBOSE, 
"MachProcess::DisableBreakpoint ( addr = 0x%8.8llx, remove = %d ) is not 
enabled", (uint64_t)addr, remove);
                     // Set verify to true and so we can check if the original 
opcode is there
                     verify = true;
                 }
@@ -1127,7 +1127,7 @@ MachProcess::ExceptionMessageBundleCompl
                             }
                             else
                             {
-                                DNBLog ("error: failed to read 
all_image_infos.infoArrayCount from 0x%8.8llx", info_array_count_addr);
+                                DNBLog ("error: failed to read 
all_image_infos.infoArrayCount from 0x%8.8llx", 
(uint64_t)info_array_count_addr);
                             }
                         }
                         break;


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

Reply via email to