llvm-project/lldb/source/Plugins/Process/gdb-remote
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
..
CMakeLists.txt Revert "[llvm] cmake config groundwork to have ZSTD in LLVM" 2022-07-08 13:48:05 -07:00
GDBRemoteClientBase.cpp [gdb-remote] Move broadcasting logic down to GDBRemoteClientBase 2022-09-09 17:13:08 +02:00
GDBRemoteClientBase.h [gdb-remote] Move broadcasting logic down to GDBRemoteClientBase 2022-09-09 17:13:08 +02:00
GDBRemoteCommunication.cpp [gdb-remote] Move broadcasting logic down to GDBRemoteClientBase 2022-09-09 17:13:08 +02:00
GDBRemoteCommunication.h [gdb-remote] Move broadcasting logic down to GDBRemoteClientBase 2022-09-09 17:13:08 +02:00
GDBRemoteCommunicationClient.cpp Recognize a platform binary in ProcessGDBRemote which determines plugins 2022-09-09 14:57:08 -07:00
GDBRemoteCommunicationClient.h [lldb] [gdb-remote] Include PID in vCont packets if multiprocess 2022-08-20 08:21:32 +02:00
GDBRemoteCommunicationHistory.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
GDBRemoteCommunicationHistory.h [lldb] Use C++11 default member initializers 2021-06-09 09:43:13 -07:00
GDBRemoteCommunicationServer.cpp [gdb-remote] Move broadcasting logic down to GDBRemoteClientBase 2022-09-09 17:13:08 +02:00
GDBRemoteCommunicationServer.h [gdb-remote] Move broadcasting logic down to GDBRemoteClientBase 2022-09-09 17:13:08 +02:00
GDBRemoteCommunicationServerCommon.cpp Use std::make_unsigned_t (NFC) 2022-09-18 18:41:02 -07:00
GDBRemoteCommunicationServerCommon.h [gdb-remote] Move broadcasting logic down to GDBRemoteClientBase 2022-09-09 17:13:08 +02:00
GDBRemoteCommunicationServerLLGS.cpp [gdb-remote] Move broadcasting logic down to GDBRemoteClientBase 2022-09-09 17:13:08 +02:00
GDBRemoteCommunicationServerLLGS.h [lldb] [llgs] Fix disabling non-stop mode 2022-07-15 20:16:49 +02:00
GDBRemoteCommunicationServerPlatform.cpp [gdb-remote] Move broadcasting logic down to GDBRemoteClientBase 2022-09-09 17:13:08 +02:00
GDBRemoteCommunicationServerPlatform.h [lldb/host] Remove monitor_signals argument from process monitoring functions 2022-02-24 11:12:59 +01:00
GDBRemoteErrno.def [lldb] [gdb-remote] Use standardized GDB errno values 2021-09-10 14:08:36 +02:00
GDBRemoteRegisterContext.cpp [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
GDBRemoteRegisterContext.h [lldb] Refactor DataBuffer so we can map files as read-only 2022-04-05 13:46:37 -07:00
GDBRemoteRegisterFallback.cpp [lldb] [gdb-remote] Support client fallback for servers without reg defs 2022-01-17 22:31:49 +01:00
GDBRemoteRegisterFallback.h [lldb] [gdb-remote] Support client fallback for servers without reg defs 2022-01-17 22:31:49 +01:00
ProcessGDBRemote.cpp [lldb] Reset breakpoint hit count before new runs 2022-09-19 12:56:12 -04:00
ProcessGDBRemote.h [lldb] Reset breakpoint hit count before new runs 2022-09-19 12:56:12 -04:00
ProcessGDBRemoteLog.cpp [lldb] Make logging machinery type-safe 2022-01-25 12:13:49 +01:00
ProcessGDBRemoteLog.h [lldb] Rename Logging.h to LLDBLog.h and clean up includes 2022-02-03 14:47:01 +01:00
ProcessGDBRemoteProperties.td
ThreadGDBRemote.cpp [lldb] [gdb-remote] Support getting siginfo via API 2022-01-28 17:47:47 +01:00
ThreadGDBRemote.h [lldb] [gdb-remote] Support getting siginfo via API 2022-01-28 17:47:47 +01:00