jimingham wrote:


> On Jul 29, 2024, at 3:16 PM, 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.
> 
I guessed that was the case.  We should still try to do something here, 
tbreak/reverse continue probably gets old over time, but that seems fine to 
leave for "future work".

Jim


> —
> Reply to this email directly, view it on GitHub 
> <https://github.com/llvm/llvm-project/pull/99736#issuecomment-2257103012>, or 
> unsubscribe 
> <https://github.com/notifications/unsubscribe-auth/ADUPVWZ4UEIOTRV5ERJCPM3ZO25MHAVCNFSM6AAAAABLFTBQAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJXGEYDGMBRGI>.
> You are receiving this because you were mentioned.
> 



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