On Sun, 10 May 2020 at 10:18, tugouxp <13824125...@163.com> wrote: > > 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