qemu-devel
[Top][All Lists]
Advanced

[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: Mon, 23 Jan 2012 08:55:07 +0100

On Sun, Jan 22, 2012 at 10:15 PM, Jan Kiszka <address@hidden> wrote:
> On 2012-01-22 20:58, Francis Moreau wrote:
>> 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 ?
>
> More than a bug, a deficit in the x86 target management of gdb. Requires
> some work, but gdb people are at least aware of the issue.
>

Thanks again for your help.
-- 
Francis



reply via email to

[Prev in Thread] Current Thread [Next in Thread]