rocallahan wrote:

> Is there a notion of "reverse stepping" like "take me to the line that 
> preceded this one in execution history", and if so what contains the logic 
> that does that?

rr supports the "bs" gdbserver packet to reverse-step a single instruction (and 
so does the test proxy I'm adding here). To "reverse-next one line" we will 
need to implement a thread plan that uses a combination of 
reverse-step-instruction and reverse-continue-to-breakpoint. That's future 
work. It may be difficult, and it's also not very high priority because it 
tends not to get used very much by gdb users.

https://github.com/llvm/llvm-project/pull/99736
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to