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: Michael Tokarev
Subject: Re: [Qemu-devel] Failed to use gdb with qemu 15.1 (with and without kvm support)
Date: Sun, 22 Jan 2012 21:11:06 +0400
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:5.0) Gecko/20110805 Icedove/5.0

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.

/mjt



reply via email to

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