All of lore.kernel.org
 help / color / mirror / Atom feed
From: PUCCETTI Armand <armand.puccetti@cea.fr>
To: xen-devel@lists.xensource.com
Subject: Compiling XEN 3.0.1 in debug mode?
Date: Fri, 08 Sep 2006 18:40:18 +0200	[thread overview]
Message-ID: <45019CF2.30200@cea.fr> (raw)

Dear XEN development team,

How could I proceed for compiling XEN in debug mode, for the purpose of
running it under the control of gdb?? The idea is to run the XEN kernel 
within
an emulator, such as qemu or bochs, and let the emulator act as a gdb 
server for any
remote gdb client.

We have tried to compile XEN using the command

$ make CC="gcc -g" V=1 CONFIG_DEBUG_INFO=1 world

but this does not generate a binary image with debug info. The .o files
are however compiled in debug mode. Therefore,
the debug info seems to be stripped from the image somewhere...

Or, alternatively, is there another means to early debug XEN at source 
level??
(I mean , debugging the code right from the beginning, ie from __start_xen)

thanks!

Armand

             reply	other threads:[~2006-09-08 16:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-08 16:40 PUCCETTI Armand [this message]
2006-09-08 16:44 ` Compiling XEN 3.0.1 in debug mode? Keir Fraser
2006-09-21 15:18   ` PUCCETTI Armand

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=45019CF2.30200@cea.fr \
    --to=armand.puccetti@cea.fr \
    --cc=xen-devel@lists.xensource.com \
    /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.