[Lldb-commits] [lldb] r164825 - /lldb/trunk/source/Target/Thread.cpp

Filipe Cabecinhas me at filcab.net
Fri Sep 28 08:55:43 PDT 2012


Author: filcab
Date: Fri Sep 28 10:55:43 2012
New Revision: 164825

URL: http://llvm.org/viewvc/llvm-project?rev=164825&view=rev
Log:
Fix a bug introduced in an earlier revision: actually return the StopReason, when we have a StopInfo object.

Modified:
    lldb/trunk/source/Target/Thread.cpp

Modified: lldb/trunk/source/Target/Thread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Thread.cpp?rev=164825&r1=164824&r2=164825&view=diff
==============================================================================
--- lldb/trunk/source/Target/Thread.cpp (original)
+++ lldb/trunk/source/Target/Thread.cpp Fri Sep 28 10:55:43 2012
@@ -210,7 +210,7 @@
 {
     lldb::StopInfoSP stop_info_sp (GetStopInfo ());
     if (stop_info_sp)
-        stop_info_sp->GetStopReason();
+        return stop_info_sp->GetStopReason();
     return eStopReasonNone;
 }
 





More information about the lldb-commits mailing list