All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Francis Moreau <francis.moro@gmail.com>
Cc: qemu-devel@nongnu.org
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	[thread overview]
Message-ID: <4F1C432A.3000302@msgid.tls.msk.ru> (raw)
In-Reply-To: <CAC9WiBjps4_AQafTQRUAYy-JOeaPQRG+EyxbG0iytM832pzVKg@mail.gmail.com>

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	other threads:[~2012-01-22 17:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-22 14:20 [Qemu-devel] Failed to use gdb with qemu 15.1 (with and without kvm support) Francis Moreau
2012-01-22 17:11 ` Michael Tokarev [this message]
2012-01-22 19:11   ` Francis Moreau
2012-01-22 19:36     ` Michael Tokarev
2012-01-22 18:49 ` Jan Kiszka
2012-01-22 19:16   ` Max Filippov
2012-01-22 19:21     ` Jan Kiszka
2012-01-22 19:58       ` Francis Moreau
2012-01-22 21:15         ` Jan Kiszka
2012-01-23  7:55           ` Francis Moreau
2012-01-22 19:29     ` Francis Moreau
2012-01-22 19:25   ` Francis Moreau
2012-01-22 19:28     ` Jan Kiszka
2012-01-22 19:57       ` Francis Moreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F1C432A.3000302@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=francis.moro@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.