summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Thread.cpp
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2012-09-28 15:55:43 +0000
committerFilipe Cabecinhas <me@filcab.net>2012-09-28 15:55:43 +0000
commite26391a43f0930001e381d2315c9b913ed3cdd5c (patch)
tree177458c00209afff967bdfb7f1fd8728a2de1f46 /lldb/source/Target/Thread.cpp
parentd2e6f65b1b068408d0be6740c161dec2f27f8084 (diff)
downloadbcm5719-llvm-e26391a43f0930001e381d2315c9b913ed3cdd5c.tar.gz
bcm5719-llvm-e26391a43f0930001e381d2315c9b913ed3cdd5c.zip
Fix a bug introduced in an earlier revision: actually return the StopReason, when we have a StopInfo object.
llvm-svn: 164825
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
-rw-r--r--lldb/source/Target/Thread.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
OpenPOWER on IntegriCloud