From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Ed Schofield <edschofield-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: Compiling kvm / qemu with debugging symbols
Date: Tue, 24 Apr 2007 11:30:21 +0300 [thread overview]
Message-ID: <462DC01D.3050900@qumranet.com> (raw)
In-Reply-To: <1b5a37350704230638x23660dfex8e333215b6baa171-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Ed Schofield wrote:
> Hi everyone,
>
> I'd like to compile kvm with debugging symbols so I can post a
> backtrace for a segfault I'm seeing in kvm-20. I've tried hacking the
> Makefiles to add -g and -DDEBUG in various places, but it seems like
> there has to be a better way to do it. What's the recommended way of
> doing this?
>
>
There's a ./configure --extra-cflags option which can be used for it.
Maybe upstream qemu will accept an explicit ./configure option for
debugging.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
prev parent reply other threads:[~2007-04-24 8:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-23 13:38 Compiling kvm / qemu with debugging symbols Ed Schofield
[not found] ` <1b5a37350704230638x23660dfex8e333215b6baa171-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-04-24 8:30 ` Avi Kivity [this message]
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=462DC01D.3050900@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=edschofield-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox