diff options
author | Greg Clayton <gclayton@apple.com> | 2011-10-19 18:09:39 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-10-19 18:09:39 +0000 |
commit | 81c22f6104a391f4b3c9f072cf8cfd47b746367d (patch) | |
tree | 24933ab12c153c7af3b0604f4cfd54a457aa4c7f /lldb/source/Commands/CommandObjectThread.cpp | |
parent | c620f554b9c465a9b1db8cd832bf2ce3e11447bf (diff) | |
download | bcm5719-llvm-81c22f6104a391f4b3c9f072cf8cfd47b746367d.tar.gz bcm5719-llvm-81c22f6104a391f4b3c9f072cf8cfd47b746367d.zip |
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/CommandObjectThread.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectThread.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index c7bf27622f8..fde74727332 100644 --- a/lldb/source/Commands/CommandObjectThread.cpp +++ b/lldb/source/Commands/CommandObjectThread.cpp @@ -546,7 +546,7 @@ public: // } process->GetThreadList().SetSelectedThreadByID (thread->GetID()); 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); } } @@ -685,7 +685,7 @@ public: thread->SetResumeState (eStateSuspended); } } - result.AppendMessageWithFormat ("in process %i\n", process->GetID()); + result.AppendMessageWithFormat ("in process %llu\n", process->GetID()); } } else @@ -703,7 +703,7 @@ public: Thread *thread = process->GetThreadList().GetThreadAtIndex(idx).get(); if (thread == current_thread) { - result.AppendMessageWithFormat ("Resuming thread 0x%4.4x in process %i\n", thread->GetID(), process->GetID()); + result.AppendMessageWithFormat ("Resuming thread 0x%4.4llx in process %llu\n", thread->GetID(), process->GetID()); thread->SetResumeState (eStateRunning); } else @@ -716,13 +716,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 @@ -1043,13 +1043,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) { 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 |