[Lldb-commits] [lldb] r107692 - in /lldb/trunk/source: Host/macosx/Host.mm Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

Greg Clayton gclayton at apple.com
Tue Jul 6 13:27:01 PDT 2010


Author: gclayton
Date: Tue Jul  6 15:27:00 2010
New Revision: 107692

URL: http://llvm.org/viewvc/llvm-project?rev=107692&view=rev
Log:
Applied pid.patch from Jean-Daniel Dupas.


Modified:
    lldb/trunk/source/Host/macosx/Host.mm
    lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

Modified: lldb/trunk/source/Host/macosx/Host.mm
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/macosx/Host.mm?rev=107692&r1=107691&r2=107692&view=diff
==============================================================================
--- lldb/trunk/source/Host/macosx/Host.mm (original)
+++ lldb/trunk/source/Host/macosx/Host.mm Tue Jul  6 15:27:00 2010
@@ -554,7 +554,7 @@
         Mutex::Locker locker(&g_monitor_map_mutex);
         if (!g_monitor_thread)
         {
-            pid_t wait_pid = -1;
+            lldb::pid_t wait_pid = -1;
             g_monitor_thread = ThreadCreate ("<lldb.host.wait4>",
                                              MonitorChildProcessThreadFunction,
                                              &wait_pid,
@@ -640,7 +640,7 @@
     if (log)
         log->Printf ("%s (arg = %p) thread starting...", function, arg);
 
-    const pid_t wait_pid = -1;//*((pid_t*)arg);
+    const lldb::pid_t wait_pid = -1;//*((pid_t*)arg);
     int status = -1;
     const int options = 0;
     struct rusage *rusage = NULL;

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp?rev=107692&r1=107691&r2=107692&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Tue Jul  6 15:27:00 2010
@@ -616,7 +616,7 @@
 }
 
 Error
-ProcessGDBRemote::DoAttach (pid_t attach_pid)
+ProcessGDBRemote::DoAttach (lldb::pid_t attach_pid)
 {
     Error error;
     // Clear out and clean up from any current state





More information about the lldb-commits mailing list