[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: is there any way to make qemu stop at the very first instruction of
From: |
Peter Maydell |
Subject: |
Re: is there any way to make qemu stop at the very first instruction of the emulation process and wait for gdb connect? |
Date: |
Mon, 11 May 2020 10:13:51 +0100 |
On Sun, 10 May 2020 at 10:18, tugouxp <address@hidden> 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