How to single step ARM assembler in GDB on Qemu? teaches us about QEMU user mode GDB step debugging and How do you start running the program over again in gdb with 'target remote'? teaches us that --multi
allows you to re-run a program from inside GDB directly with run
.
Does the QEMU user mode GDB stub, e.g. -g 1234
implement such --multi
-like functionality, so I can run
the program from inside gdb
multiple times and keep my breakpoints around?