From: Filipe Cabecinhas Date: Fri, 28 Sep 2012 15:55:43 +0000 (+0000) Subject: Fix a bug introduced in an earlier revision: actually return the StopReason, when... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e26391a43f0930001e381d2315c9b913ed3cdd5c;p=platform%2Fupstream%2Fllvm.git Fix a bug introduced in an earlier revision: actually return the StopReason, when we have a StopInfo object. llvm-svn: 164825 --- diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp index ee3a855..e002ec9 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; }