[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:11:20 +0100 |
Hello,
On Sun, Jan 22, 2012 at 6:11 PM, Michael Tokarev <address@hidden> wrote:
> On 22.01.2012 18:20, Francis Moreau wrote:
>> Hello,
>>
>> I'm trying to debug a 64 bits kernel (3.2) using qemu (with and
>> without KVM support). The host is also 64 bits. Version of gdb I'm
>> using is 7.1.
>
> I'm not sure how it is relevant but at least last (1.0) qemu is
> compiled as PIE executable by default, and gdb-7.1 is unable to
> debug such executables, PIE support has been intruduced in
> gdb-7.2. You may try recompiling qemu with --disable-pie if
> that is the case.
>
I'm not sure to understand: it seems that you think that I want to
debug qemu itself, but I don't.
I want to debug a kernel running inside a VM.
Am I mis understanding your comment ?
Thanks
--
Francis