[Lldb-commits] [PATCH] fixed up some logging messages (options and wait_pid were swapped)

Vince Harron vharron at google.com
Mon Jan 19 08:32:45 PST 2015


Hi clayborg,

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7058

Files:
  tsc/lldb/source/Host/common/Host.cpp

Index: tsc/lldb/source/Host/common/Host.cpp       
===================================================================
--- tsc/lldb/source/Host/common/Host.cpp       
+++ tsc/lldb/source/Host/common/Host.cpp       
@@ -169,7 +169,7 @@
     {
         log = lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_PROCESS);
         if (log)
-            log->Printf("%s ::wait_pid (pid = %" PRIi32 ", &status, options = %i)...", function, pid, options);
+            log->Printf("%s ::waitpid (pid = %" PRIi32 ", &status, options = %i)...", function, pid, options);
 
         // Wait for all child processes
 #if !defined(__ANDROID__) && !defined(__ANDROID_NDK__)
@@ -232,9 +232,9 @@
                 if (log)
                     log->Printf ("%s ::waitpid (pid = %" PRIi32 ", &status, options = %i) => pid = %" PRIi32 ", status = 0x%8.8x (%s), signal = %i, exit_state = %i",
                                  function,
-                                 wait_pid,
-                                 options,
                                  pid,
+                                 options,
+                                 wait_pid,
                                  status,
                                  status_cstr,
                                  signal,

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7058.18394.patch
Type: text/x-patch
Size: 1262 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150119/bce13af9/attachment.bin>


More information about the lldb-commits mailing list