[Lldb-commits] [lldb] [lldb] Add step back single instruction for targets supporting reverse execution (PR #191183)

Maarten Steevens via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 9 05:55:15 PDT 2026


https://github.com/MaartenS11 created https://github.com/llvm/llvm-project/pull/191183

LLDB already had a lot of the plumbing needed to step back, this PR adds a step back command making use of this existing infrastructure. The way this is implemented is by giving `ThreadPlanStepInstruction` a direction parameter, if the step back instruction command is used a thread plan with `eForwardReverse` is pushed. Of course stepping back does not work for any target, it needs to support reverse execution (`SupportsReverseDirection`), this is the case for some remote GDB targets.


The server is unavailable at this time. Please wait a few minutes before you try again.


More information about the lldb-commits mailing list