aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-10-19 18:09:39 +0000
committerGreg Clayton <gclayton@apple.com>2011-10-19 18:09:39 +0000
commit81c22f6104a391f4b3c9f072cf8cfd47b746367d (patch)
tree24933ab12c153c7af3b0604f4cfd54a457aa4c7f /lldb/source/Commands/CommandObjectProcess.cpp
parentc620f554b9c465a9b1db8cd832bf2ce3e11447bf (diff)
downloadllvm-81c22f6104a391f4b3c9f072cf8cfd47b746367d.zip
llvm-81c22f6104a391f4b3c9f072cf8cfd47b746367d.tar.gz
llvm-81c22f6104a391f4b3c9f072cf8cfd47b746367d.tar.bz2
Moved lldb::user_id_t values to be 64 bit. This was going to be needed for
process IDs, and thread IDs, but was mainly needed for for the UserID's for Types so that DWARF with debug map can work flawlessly. With DWARF in .o files the type ID was the DIE offset in the DWARF for the .o file which is not unique across all .o files, so now the SymbolFileDWARFDebugMap class will make the .o file index part (the high 32 bits) of the unique type identifier so it can uniquely identify the types. llvm-svn: 142534
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectProcess.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp
index 72aba1c..0cea39c 100644
--- a/lldb/source/Commands/CommandObjectProcess.cpp
+++ b/lldb/source/Commands/CommandObjectProcess.cpp
@@ -323,7 +323,7 @@ public:
{
const char *archname = exe_module->GetArchitecture().GetArchitectureName();
- result.AppendMessageWithFormat ("Process %i launched: '%s' (%s)\n", process->GetID(), filename, archname);
+ result.AppendMessageWithFormat ("Process %llu launched: '%s' (%s)\n", process->GetID(), filename, archname);
result.SetDidChangeProcessState (true);
if (m_options.stop_at_entry == false)
{
@@ -573,7 +573,7 @@ public:
state = process->GetState();
if (process->IsAlive() && state != eStateConnected)
{
- result.AppendErrorWithFormat ("Process %u is currently being debugged, kill the process before attaching.\n",
+ result.AppendErrorWithFormat ("Process %llu is currently being debugged, kill the process before attaching.\n",
process->GetID());
result.SetStatus (eReturnStatusFailed);
return false;
@@ -676,7 +676,7 @@ public:
StateType state = process->WaitForProcessToStop (NULL);
result.SetDidChangeProcessState (true);
- result.AppendMessageWithFormat ("Process %i %s\n", process->GetID(), StateAsCString (state));
+ result.AppendMessageWithFormat ("Process %llu %s\n", process->GetID(), StateAsCString (state));
result.SetStatus (eReturnStatusSuccessFinishNoResult);
}
else
@@ -728,7 +728,7 @@ public:
StateType state = process->WaitForProcessToStop (NULL);
result.SetDidChangeProcessState (true);
- result.AppendMessageWithFormat ("Process %i %s\n", process->GetID(), StateAsCString (state));
+ result.AppendMessageWithFormat ("Process %llu %s\n", process->GetID(), StateAsCString (state));
result.SetStatus (eReturnStatusSuccessFinishNoResult);
}
else
@@ -859,13 +859,13 @@ public:
Error error(process->Resume());
if (error.Success())
{
- result.AppendMessageWithFormat ("Process %i resuming\n", process->GetID());
+ result.AppendMessageWithFormat ("Process %llu resuming\n", process->GetID());
if (synchronous_execution)
{
state = process->WaitForProcessToStop (NULL);
result.SetDidChangeProcessState (true);
- result.AppendMessageWithFormat ("Process %i %s\n", process->GetID(), StateAsCString (state));
+ result.AppendMessageWithFormat ("Process %llu %s\n", process->GetID(), StateAsCString (state));
result.SetStatus (eReturnStatusSuccessFinishNoResult);
}
else
@@ -923,7 +923,7 @@ public:
return false;
}
- result.AppendMessageWithFormat ("Detaching from process %i\n", process->GetID());
+ result.AppendMessageWithFormat ("Detaching from process %llu\n", process->GetID());
Error error (process->Detach());
if (error.Success())
{
@@ -1030,7 +1030,7 @@ public:
{
if (process->IsAlive())
{
- result.AppendErrorWithFormat ("Process %u is currently being debugged, kill the process before connecting.\n",
+ result.AppendErrorWithFormat ("Process %llu is currently being debugged, kill the process before connecting.\n",
process->GetID());
result.SetStatus (eReturnStatusFailed);
return false;