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

Vince Harron vharron at google.com
Fri Jan 23 14:48:28 PST 2015


Author: vharron
Date: Fri Jan 23 16:48:28 2015
New Revision: 226956

URL: http://llvm.org/viewvc/llvm-project?rev=226956&view=rev
Log:
fixed up some logging messages (options and wait_pid were swapped)


Modified:
    lldb/trunk/source/Host/common/Host.cpp

Modified: lldb/trunk/source/Host/common/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Host.cpp?rev=226956&r1=226955&r2=226956&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Host.cpp (original)
+++ lldb/trunk/source/Host/common/Host.cpp Fri Jan 23 16:48:28 2015
@@ -169,7 +169,7 @@ MonitorChildProcessThreadFunction (void
     {
         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 @@ MonitorChildProcessThreadFunction (void
                 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,





More information about the lldb-commits mailing list