Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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)


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.


LLDB could work with rr, but AFAIK LLDB doesn't support reverse-execution commands so rr's key feature would not be accessible.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: