Re:rr: lightweight recording and deterministic debugging
by qalmakka on Tuesday November 06, 2018 @02:07AM
(#18388994)
Does anyone know if this also supports LLDB? Or is it strictly tied to gdb? I happen to slightly prefer LLDB these days (mainly because its `list` instruction is much much saner)
[ Parent
| on HN ]
Re:rr: lightweight recording and deterministic debugging
by sanxiyn on Tuesday November 06, 2018 @02:30AM
(#18389077)
rr is a gdb protocol server. By default, rr also executes gdb client and automatically connects to server, but you can use -s PORT option to run rr in server only mode.
As I understand, after rr is running in server only mode, you can connect to it on gdb with "target remote :PORT", or on LLDB with "gdb-remote :PORT". I haven't tested this, but it should work as long as LLDB implements gdb protocol in a compatible manner.