llvm-project/lldb
Felipe de Azevedo Piovezan 9749587498 [lldb] Reset breakpoint hit count before new runs
A common debugging pattern is to set a breakpoint that only stops after
a number of hits is recorded. The current implementation never resets
the hit count of breakpoints; as such, if a user re-`run`s their
program, the debugger will never stop on such a breakpoint again.

This behavior is arguably undesirable, as it renders such breakpoints
ineffective on all but the first run. This commit changes the
implementation of the `Will{Launch, Attach}` methods so that they reset
the _target's_ breakpoint hitcounts.

Differential Revision: https://reviews.llvm.org/D133858
2022-09-19 12:56:12 -04:00
..
bindings [lldb] Use SWIG_fail in python-typemaps.swig (NFC) 2022-09-16 08:25:01 -07:00
cmake [CMake] Avoid `LLVM_BINARY_DIR` when other more specific variable are better-suited, part 2 2022-09-14 15:48:58 -04:00
docs [lldb] Fixed a number of typos 2022-09-13 10:38:38 -07:00
examples [lldb] Fixed a number of typos 2022-09-13 10:38:38 -07:00
include/lldb [lldb] Reset breakpoint hit count before new runs 2022-09-19 12:56:12 -04:00
packages/Python/lldbsuite [lldb] Improve formatting of skipped categories message (NFC) 2022-09-15 20:39:25 -07:00
resources
scripts
source [lldb] Reset breakpoint hit count before new runs 2022-09-19 12:56:12 -04:00
test [lldb] Reset breakpoint hit count before new runs 2022-09-19 12:56:12 -04:00
third_party/Python/module [lldb] Remove uses of six module (NFC) 2022-08-11 19:06:15 -07:00
tools [lldb][fuzz] Allow expression fuzzer to be passed as a flag. 2022-09-13 15:39:15 -07:00
unittests [LLDB][RISCV] Add RVM and RVA instruction support for EmulateInstructionRISCV 2022-09-17 12:19:09 +08:00
utils Fix a bug in lldb-dotest that was uncovered by setting no value for dotest_args_str. 2022-08-31 18:00:18 -07:00
.clang-format
.clang-tidy [LLDB] Applying clang-tidy modernize-use-override over LLDB 2022-04-22 13:29:47 -07:00
.gitignore
CMakeLists.txt lldb: Disable unittests if llvm_gtest target does not exist 2022-08-10 16:56:08 -07:00
CODE_OWNERS.txt [CODE OWNERS] Add wallace as code owner 2022-01-12 12:36:30 -08:00
LICENSE.TXT
use_lldb_suite_root.py