On Sun, Jan 22, 2012 at 8:21 PM, Jan Kiszka <jan.kis...@web.de> wrote: > On 2012-01-22 20:16, Max Filippov wrote: >>> When stopping the guest with -S before it booted, gdb will interrupt it >>> while it is still in 16-bit real mode. Later on, when Linux runs, the >>> guest is in 64-bit protected mode. gdb is not prepared for such a >>> switch. All you can do: >> >> Try >> >> set arch i386:x86-64 >> >> in the GDB prompt. >> > > Won't help if gdb already connected in 16/32-bit before.
Why not ? is it a gdb bug ? Thanks -- Francis