aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectPlatform.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-12-01 23:28:38 +0000
committerGreg Clayton <gclayton@apple.com>2011-12-01 23:28:38 +0000
commit61e7a58c0ced8df707c0ca0b85632268ace30d27 (patch)
treedd27b4584524382bc35eecd04121111ae2d30386 /lldb/source/Commands/CommandObjectPlatform.cpp
parent576c0f8e542e0a69d2f450450ef4ba8124b01d28 (diff)
downloadllvm-61e7a58c0ced8df707c0ca0b85632268ace30d27.zip
llvm-61e7a58c0ced8df707c0ca0b85632268ace30d27.tar.gz
llvm-61e7a58c0ced8df707c0ca0b85632268ace30d27.tar.bz2
Process IDs (lldb::pid_t) and thread IDs (lldb::tid_t) are now 64 bit. This
will allow us to represent a process/thread ID using a pointer for the OS plug-ins where they might want to represent the process or thread ID using the address of the process or thread structure. llvm-svn: 145644
Diffstat (limited to 'lldb/source/Commands/CommandObjectPlatform.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectPlatform.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectPlatform.cpp b/lldb/source/Commands/CommandObjectPlatform.cpp
index c9f776e..855d8fb 100644
--- a/lldb/source/Commands/CommandObjectPlatform.cpp
+++ b/lldb/source/Commands/CommandObjectPlatform.cpp
@@ -512,7 +512,7 @@ public:
}
else
{
- result.AppendErrorWithFormat ("no process found with pid = %i\n", pid);
+ result.AppendErrorWithFormat ("no process found with pid = %llu\n", pid);
result.SetStatus (eReturnStatusFailed);
}
}
@@ -796,12 +796,12 @@ public:
ProcessInstanceInfo proc_info;
if (platform_sp->GetProcessInfo (pid, proc_info))
{
- ostrm.Printf ("Process information for process %i:\n", pid);
+ ostrm.Printf ("Process information for process %llu:\n", pid);
proc_info.Dump (ostrm, platform_sp.get());
}
else
{
- ostrm.Printf ("error: no process information is available for process %i\n", pid);
+ ostrm.Printf ("error: no process information is available for process %llu\n", pid);
}
ostrm.EOL();
}