llvm-capstone/lldb/examples
Med Ismail Bennani e31d0c20e4 [lldb] Improve breakpoint management for interactive scripted process
This patch improves breakpoint management when doing interactive
scripted process debugging.

In other to know which process set a breakpoint, we need to do some book
keeping on the multiplexer scripted process. When initializing the
multiplexer, we will first copy breakpoints that are already set on the
driving target.

Everytime we launch or resume, we should copy breakpoints from the
multiplexer to the driving process.

When creating a breakpoint from a child process, it needs to be set both
on the multiplexer and on the driving process. We also tag the created
breakpoint with the name and pid of the originator process.

This patch also implements all the requirement to achieve proper
breakpoint management. That involves:

- Adding python interator for breakpoints and watchpoints in SBTarget
- Add a new `ScriptedProcess.create_breakpoint` python method

Differential Revision: https://reviews.llvm.org/D148548

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
2023-04-25 15:03:15 -07:00
..
customization [LLDB] Remove __future__ imports from examples 2022-08-15 09:04:25 +00:00
darwin/heap_find [lldb] Update custom commands to always be overrriden 2023-01-12 19:20:51 -08:00
functions
interposing/darwin/fd_interposing
lookup
plugins/commands
python [lldb] Improve breakpoint management for interactive scripted process 2023-04-25 15:03:15 -07:00
scripting [LLDB] Remove __future__ imports from examples 2022-08-15 09:04:25 +00:00
summaries [lldb] Remove basestring references in examples (NFC) 2022-12-13 11:10:11 -08:00
synthetic [lldb][DataFormatter] Fix libcxx std::deque formatter for references and pointers 2023-04-17 21:31:30 +01:00
test [lldb] Remove LLDB session dir and just store test traces in the respective test build directory 2020-12-04 11:43:10 +01:00