[Lldb-commits] [lldb] r232979 - Add a missing null pointer check in CommandObjectThread.cpp.
Stephane Sezer
sas at cd80.net
Mon Mar 23 11:15:08 PDT 2015
Author: sas
Date: Mon Mar 23 13:15:07 2015
New Revision: 232979
URL: http://llvm.org/viewvc/llvm-project?rev=232979&view=rev
Log:
Add a missing null pointer check in CommandObjectThread.cpp.
Reviewers: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D8554
Modified:
lldb/trunk/source/Commands/CommandObjectThread.cpp
Modified: lldb/trunk/source/Commands/CommandObjectThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectThread.cpp?rev=232979&r1=232978&r2=232979&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectThread.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectThread.cpp Mon Mar 23 13:15:07 2015
@@ -581,7 +581,7 @@ protected:
{
StackFrame *frame = thread->GetStackFrameAtIndex(0).get();
- if (frame->HasDebugInformation ())
+ if (frame && frame->HasDebugInformation ())
{
new_plan_sp = thread->QueueThreadPlanForStepInRange (abort_other_plans,
frame->GetSymbolContext(eSymbolContextEverything).line_entry.range,
More information about the lldb-commits
mailing list