[lldb-dev] Forcing lldb to refresh process state

Vadim Chugunov via lldb-dev lldb-dev at lists.llvm.org
Wed Aug 23 13:37:07 PDT 2017


On Wed, Aug 23, 2017 at 12:37 PM, Greg Clayton <clayborg at gmail.com> wrote:

> This isn't a work around right? You should be triggering your reverse step
> or reverse continue using a "process reverse-continue" or "thread
> reverse-step" right? If you do this, everything will just work. There
> should be no way this happens automagically without user interaction. Am I
> missing something?
>

Wait a second... As far as I know, LLDB itself does not support
reverse-debugging (unless I missed something in a major way).  So there is
no "process reverse-continue" command, is there?

I am not talking about adding proper reverse-debugging to lldb.  All I want
to do is to hack together a script that emulates "process reverse-continue"
in cases when remote target happens to support it.   I'm sending commands
directly to remote gdb via `process plugin packet send bs`, but that leaves
lldb out of the loop because it does not analyze the response packet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170823/caa18cc3/attachment.html>


More information about the lldb-dev mailing list