diff options
author | Robert O'Callahan <robert@ocallahan.org> | 2024-10-11 09:01:47 +1300 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2024-10-10 16:08:19 -0700 |
commit | 4f297566b3150097de26c6a23a987d2bd5fc19c5 (patch) | |
tree | 9ec3e0683cfddd81952bbef8e817c6ed9b83e0c3 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp | |
parent | e9c8f75d45ababe7f805078bbf7bda2e7425f1b7 (diff) | |
download | llvm-4f297566b3150097de26c6a23a987d2bd5fc19c5.zip llvm-4f297566b3150097de26c6a23a987d2bd5fc19c5.tar.gz llvm-4f297566b3150097de26c6a23a987d2bd5fc19c5.tar.bz2 |
[lldb] Implement basic support for reverse-continue (#99736)
This commit only adds support for the
`SBProcess::ReverseContinue()` API. A user-accessible command for this
will follow in a later commit.
This feature depends on a gdbserver implementation (e.g. `rr`) providing
support for the `bc` and `bs` packets. `lldb-server` does not support
those packets, and there is no plan to change that. So, for testing
purposes, `lldbreverse.py` wraps `lldb-server` with a Python
implementation of *very limited* record-and-replay functionality for use
by *tests only*.
The majority of this PR is test infrastructure (about 700 of the 950
lines added).
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp index 35fa93e..4016cde 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp @@ -716,6 +716,7 @@ static const char *GetStopReasonString(StopReason stop_reason) { return "vforkdone"; case eStopReasonInterrupt: return "async interrupt"; + case eStopReasonHistoryBoundary: case eStopReasonInstrumentation: case eStopReasonInvalid: case eStopReasonPlanComplete: |