* Compiling XEN 3.0.1 in debug mode?
@ 2006-09-08 16:40 PUCCETTI Armand
2006-09-08 16:44 ` Keir Fraser
0 siblings, 1 reply; 3+ messages in thread
From: PUCCETTI Armand @ 2006-09-08 16:40 UTC (permalink / raw)
To: xen-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compiling XEN 3.0.1 in debug mode?
2006-09-08 16:40 Compiling XEN 3.0.1 in debug mode? PUCCETTI Armand
@ 2006-09-08 16:44 ` Keir Fraser
2006-09-21 15:18 ` PUCCETTI Armand
0 siblings, 1 reply; 3+ messages in thread
From: Keir Fraser @ 2006-09-08 16:44 UTC (permalink / raw)
To: PUCCETTI Armand, xen-devel
On 8/9/06 17:40, "PUCCETTI Armand" <armand.puccetti@cea.fr> wrote:
> 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...
The xen-syms file is not stripped. Use that instead of the xen or xen.gz
files.
-- Keir
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-09-21 15:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-08 16:40 Compiling XEN 3.0.1 in debug mode? PUCCETTI Armand
2006-09-08 16:44 ` Keir Fraser
2006-09-21 15:18 ` PUCCETTI Armand
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.