hanchenye-llvm-project/lldb/source
Pavel Labath 3ce324af6b Fix a cornercase in breakpoint reporting
Summary:
This resolves a similar problem as D16720 (which handled the case when we single-step onto a
breakpoint), but this one deals with involutary stops: when we stop a thread (e.g. because
another thread has hit a breakpont and we are doing a full stop), we can end up stopping it right
before it executes a breakpoint instruction. In this case, the stop reason will be empty, but we
will still step over the breakpoint when do the next resume, thereby missing a breakpoint hit.

I have observed this happening in TestConcurrentEvents, but I have no idea how to reproduce this
behavior more reliably.

Reviewers: clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D18692

llvm-svn: 265525
2016-04-06 09:10:29 +00:00
..
API Fix the ThreadSanitizer support to avoid creating empty SBThreads and to not crash when thread_id is unavailable. Plus a whitespace fix. 2016-03-30 10:50:24 +00:00
Breakpoint Add a DiagnosticManager replace error streams in the expression parser. 2016-03-19 00:03:59 +00:00
Commands Update watchpoint help to use new -s flag 2016-04-05 17:30:31 +00:00
Core Print environment when dumping arch triple 2016-04-05 17:29:19 +00:00
DataFormatters This change introduces a "ExpressionExecutionThread" to the ThreadList. 2016-03-12 02:45:34 +00:00
Expression If the fixed expression doesn't parse, don't tell the user about it. 2016-04-06 00:25:04 +00:00
Host Make FileSpec handling platform-independent 2016-04-04 14:39:12 +00:00
Initialization Move DynamicLoader plugins to SystemInitializerFull 2016-03-29 15:00:26 +00:00
Interpreter Improve the way LLDB escapes arguments before passing them to the shell 2016-04-04 22:46:38 +00:00
Plugins Fix a cornercase in breakpoint reporting 2016-04-06 09:10:29 +00:00
Symbol Add some unit tests for ClangASTContext. 2016-04-01 23:20:35 +00:00
Target Make sure to update Target arch if environment changed 2016-04-05 17:27:52 +00:00
Utility Fixed an issue that could cause debugserver to return two stop reply packets ($T packets) for one \x03 interrupt. The problem was that when a \x03 byte is sent to debugserver while the process is running, and up calling: 2016-04-01 00:41:29 +00:00
CMakeLists.txt Add initial CMake glue for the NetBSD platform 2015-10-24 00:27:04 +00:00
lldb.cpp Add more NetBSD platform glue for lldb 2015-11-07 15:31:54 +00:00