public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Compiling kvm / qemu with debugging symbols
@ 2007-04-23 13:38 Ed Schofield
       [not found] ` <1b5a37350704230638x23660dfex8e333215b6baa171-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Ed Schofield @ 2007-04-23 13:38 UTC (permalink / raw)
  To: kvm-devel

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?

-- Ed

-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compiling kvm / qemu with debugging symbols
       [not found] ` <1b5a37350704230638x23660dfex8e333215b6baa171-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-04-24  8:30   ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2007-04-24  8:30 UTC (permalink / raw)
  To: Ed Schofield; +Cc: kvm-devel

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-24  8:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox