summaryrefslogtreecommitdiffstats
path: root/lldb/source
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-07-06 20:27:00 +0000
committerGreg Clayton <gclayton@apple.com>2010-07-06 20:27:00 +0000
commit3afe8a9f1d2af931e02368f3d47006308d353352 (patch)
tree1804476810e035c51d1eb454bb6cc1cea2fe093f /lldb/source
parent34396292396879083b196c2f929d6903104379f8 (diff)
downloadbcm5719-llvm-3afe8a9f1d2af931e02368f3d47006308d353352.tar.gz
bcm5719-llvm-3afe8a9f1d2af931e02368f3d47006308d353352.zip
Applied pid.patch from Jean-Daniel Dupas.
llvm-svn: 107692
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/Host/macosx/Host.mm4
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Host/macosx/Host.mm b/lldb/source/Host/macosx/Host.mm
index a18d45efe81..0e1410eea0f 100644
--- a/lldb/source/Host/macosx/Host.mm
+++ b/lldb/source/Host/macosx/Host.mm
@@ -554,7 +554,7 @@ Host::StartMonitoringChildProcess
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 @@ MonitorChildProcessThreadFunction (void *arg)
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;
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 7d22b9dca26..f58613b62f1 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -616,7 +616,7 @@ ProcessGDBRemote::DidLaunch ()
}
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
OpenPOWER on IntegriCloud