[Lldb-commits] [PATCH] Add a missing null pointer check in CommandObjectThread.cpp.
Jim Ingham
jingham at apple.com
Mon Mar 23 12:01:27 PDT 2015
How do you get a thread that has NO frame 0? That seems weird, we always have a register context to make frame 0...
Anyway, if you're going to do this, add it to the "thread == NULL" checks earlier on in the function so we can get out of the command with an appropriate error message. If we don't have a frame 0 we probably don't have registers so I'm not really sure how we're going to do any kind of stepping...
Jim
REPOSITORY
rL LLVM
http://reviews.llvm.org/D8554
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the lldb-commits
mailing list