llvm-project/lldb/source
Jim Ingham bcce8e0fcc Fix the logic so stop-hooks get run after a breakpoint that ran an expression
Code was added to Target::RunStopHook to make sure that we don't run stop hooks when
you stop after an expression evaluation. But the way it was done was to check that we
hadn't run an expression since the last natural stop. That failed in the case where you
stopped for a breakpoint which had run an expression, because the stop-hooks get run
after the breakpoint actions, and so by the time we got to running the stop-hooks,
we had already run a user expression.

I fixed this by adding a target ivar tracking the last natural stop ID at which we had
run a stop-hook. Then we keep track of this and make sure we run the stop-hooks only
once per natural stop.

Differential Revision: https://reviews.llvm.org/D106514
2021-07-22 15:06:41 -07:00
..
API [lldb] Add AllocateMemory/DeallocateMemory to the SBProcess API 2021-07-16 00:45:22 +02:00
Breakpoint [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
Commands [lldb] Fix that `process signal` completion always returns all signals 2021-07-22 13:51:21 +02:00
Core [LLDB][GUI] Add required property to text fields 2021-07-21 14:40:43 -07:00
DataFormatters [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
Expression [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
Host [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
Initialization [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
Interpreter [lldb] Add the ability to silently import scripted commands 2021-07-09 10:05:39 -07:00
Plugins [lldb] Fix build failure introduced by 3d4cadfb26 2021-07-22 20:54:27 +00:00
Symbol Revert "Create synthetic symbol names on demand to improve memory consumption and startup times." 2021-07-02 16:21:47 -07:00
Target Fix the logic so stop-hooks get run after a breakpoint that ran an expression 2021-07-22 15:06:41 -07:00
Utility [intel pt] Add TSC timestamps 2021-07-20 16:29:17 -07:00
CMakeLists.txt Remove HAVE_VCS_VERSION_INC, not needed 2020-10-29 13:09:05 -07:00
lldb.cpp [lldb] Reinstate support for LLDB_VERSION_STRING 2021-02-22 16:56:00 -08:00