From e26391a43f0930001e381d2315c9b913ed3cdd5c Mon Sep 17 00:00:00 2001 From: Filipe Cabecinhas Date: Fri, 28 Sep 2012 15:55:43 +0000 Subject: Fix a bug introduced in an earlier revision: actually return the StopReason, when we have a StopInfo object. llvm-svn: 164825 --- lldb/source/Target/Thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Target/Thread.cpp') diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp index ee3a8554da7..e002ec9a2f0 100644 --- a/lldb/source/Target/Thread.cpp +++ b/lldb/source/Target/Thread.cpp @@ -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; } -- cgit v1.2.3