Replace old "CurrentThread" calls with equivalent "SelectedThread" calls.

llvm-svn: 122834
This commit is contained in:
Stephen Wilson 2011-01-04 21:39:27 +00:00
parent 01d4d86585
commit 5a8feeaf8a
1 changed files with 1 additions and 1 deletions

View File

@ -651,7 +651,7 @@ ProcessMonitor::Launch(LaunchArgs *args)
// current.
inferior.reset(new LinuxThread(process, pid));
process.GetThreadList().AddThread(inferior);
process.GetThreadList().SetCurrentThreadByID(pid);
process.GetThreadList().SetSelectedThreadByID(pid);
// Let our process instance know the thread has stopped.
process.SendMessage(ProcessMessage::Trace(pid));