[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: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] Failed to use gdb with qemu 15.1 (with and without kvm support) |
Date: |
Sun, 22 Jan 2012 22:15:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
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.
Jan
signature.asc
Description: OpenPGP digital signature
Re: [Qemu-devel] Failed to use gdb with qemu 15.1 (with and without kvm support), Francis Moreau, 2012/01/22