[Lldb-commits] [lldb] r193488 - Fix the signed-ness of a few log printf directives in Process::RunThreadPlan.

Jason Molenda jmolenda at apple.com
Sat Oct 26 19:32:24 PDT 2013


Author: jmolenda
Date: Sat Oct 26 21:32:23 2013
New Revision: 193488

URL: http://llvm.org/viewvc/llvm-project?rev=193488&view=rev
Log:
Fix the signed-ness of a few log printf directives in Process::RunThreadPlan.

Modified:
    lldb/trunk/source/Target/Process.cpp

Modified: lldb/trunk/source/Target/Process.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Process.cpp?rev=193488&r1=193487&r2=193488&view=diff
==============================================================================
--- lldb/trunk/source/Target/Process.cpp (original)
+++ lldb/trunk/source/Target/Process.cpp Sat Oct 26 21:32:23 2013
@@ -5127,15 +5127,15 @@ Process::RunThreadPlan (ExecutionContext
                         uint64_t remaining_time = final_timeout - TimeValue::Now();
                         if (before_first_timeout)
                             log->Printf ("Process::RunThreadPlan(): Running function with one thread timeout timed out, "
-                                         "running till  for %" PRId64 " usec with all threads enabled.",
+                                         "running till  for %" PRIu64 " usec with all threads enabled.",
                                          remaining_time);
                         else
                             log->Printf ("Process::RunThreadPlan(): Restarting function with all threads enabled "
-                                         "and timeout: %d timed out, abandoning execution.",
+                                         "and timeout: %u timed out, abandoning execution.",
                                          timeout_usec);
                     }
                     else
-                        log->Printf ("Process::RunThreadPlan(): Running function with timeout: %d timed out, "
+                        log->Printf ("Process::RunThreadPlan(): Running function with timeout: %u timed out, "
                                      "abandoning execution.", 
                                      timeout_usec);
                 }





More information about the lldb-commits mailing list