[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Failed to use gdb with qemu 15.1 (with and without kvm
From: |
Francis Moreau |
Subject: |
Re: [Qemu-devel] Failed to use gdb with qemu 15.1 (with and without kvm support) |
Date: |
Sun, 22 Jan 2012 20:58:33 +0100 |
On Sun, Jan 22, 2012 at 8:21 PM, Jan Kiszka <address@hidden> 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
Re: [Qemu-devel] Failed to use gdb with qemu 15.1 (with and without kvm support), Francis Moreau, 2012/01/22