I have started using mozilla's rr
(timetravelling debugger, github here) on the command line for debugging c++ code.
In emacs I can start it with gud-gdb
and writing rr replay
(as mentioned here or here).
I cannot start it with gdb
followed by rr replay
, which is how I usually start gdb in order to work in gdb many-window-mode. (which I have enabled as a setting).
When I try and start it that way I get these error messages to start off with:
Loaded symbols for /lib64/ld-linux-x86-64.so.2
0x00007f53bd89a6b0 in _start () from /lib64/ld-linux-x86-64.so.2
(rr) Undefined command: "1-inferior-tty-set". Try "help".
(rr) Undefined command: "2-gdb-set". Try "help".
(rr) Undefined command: "3-gdb-set". Try "help".
(rr) Undefined command: "4-enable-pretty-printing". Try "help".
(rr) Undefined command: "5-file-list-exec-source-files". Try "help".
(rr) Undefined command: "6-file-list-exec-source-file". Try "help".
(rr) Undefined command: "7-gdb-show". Try "help".
(rr) Undefined command: "8-stack-info-frame". Try "help".
(rr) Undefined command: "9-thread-info". Try "help".
(rr) Undefined command: "10-break-list". Try "help".
(rr) Undefined command: "11-thread-info". Try "help".
(rr) Undefined command: "12-break-list". Try "help".
followed by this error message when I try and run anything from within the gdb session:
(rr) continue
Undefined command: "-interpreter-exec". Try "help".
(rr) run
Undefined command: "-interpreter-exec". Try "help".
(rr) break
Undefined command: "-interpreter-exec". Try "help".
(rr)
Does anyone know if it is possible to run rr with emacs many-window-mode?