Fix a bug introduced in an earlier revision: actually return the StopReason, when we have a StopInfo object.

llvm-svn: 164825
This commit is contained in:
Filipe Cabecinhas 2012-09-28 15:55:43 +00:00
parent d2e6f65b1b
commit e26391a43f
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ Thread::GetStopReason()
{
lldb::StopInfoSP stop_info_sp (GetStopInfo ());
if (stop_info_sp)
stop_info_sp->GetStopReason();
return stop_info_sp->GetStopReason();
return eStopReasonNone;
}