[lldb-dev] Forcing lldb to refresh process state

Greg Clayton via lldb-dev lldb-dev at lists.llvm.org
Wed Aug 23 12:37:58 PDT 2017


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?


> On Aug 23, 2017, at 12:03 PM, Vadim Chugunov <vadimcn at gmail.com> wrote:
> 
> Yeah, this `bs` + `stepi` dance is the only workaround I found so far.
> 
> On Wed, Aug 23, 2017 at 10:40 AM, Greg Clayton <clayborg at gmail.com <mailto:clayborg at gmail.com>> wrote:
> There is a standard for reverse stepping where the GDB remote protocol was extended to do the reverse stepping. See:
> 
> https://sourceware.org/gdb/onlinedocs/gdb/Packets.html <https://sourceware.org/gdb/onlinedocs/gdb/Packets.html>
> 
> Look for "reverse" in the text. They added "bc" for reverse continue and "bs" for reverse step. We should be using these if possible.
> 
> 
> 
>> On Aug 23, 2017, at 10:00 AM, Ted Woodward <ted.woodward at codeaurora.org <mailto:ted.woodward at codeaurora.org>> wrote:
>> 
>> Perhaps a manual packet that tells your remote server that the next “s” packet is a reverse step, then run the lldb command “si”.
>>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170823/e5dfcbd4/attachment.html>


More information about the lldb-dev mailing list