is there any way to make qemu stop at the very first instruction of the emulation process and wait for gdb connect?
is there any way to make qemu stop at the very first instruction of the emulation process and wait for gdb connect? for i want to know the boot sequence of the first instrction of the target system, how to get this?
thank you .
Quoted 2 lines · tugouxp
is there any way to make qemu stop at the very first instruction of the emulation process and wait for gdb connect?
Yes: use the '-S' option (as well as the usual option to set up a gdbstub connection). See the documentation:
https://www.qemu.org/docs/master/system/gdb.html
thanks
-- PMM