On 2011-07-26 13:54, zenati wrote:
> I'm trying to debug Xenomai kernel with GDB and Qemu.
QEMU in emulation or KVM mode?
> So, I launch
> Xenomai in Qemu and make it waiting for GDB. Then I start GDB and
> connect them to Qemu, make breakpoint at the desired function to debug
> and start Xenomai. If the function belongs to the linux kernel, the
> execution stop at the breakpoint. But, if the function belongs to the
> Xenomai nucleus, GDB recognize the breakpoint at the execution but don't
Is Xenomai built as module or part of the main kernel image? The latter
is simpler to handle as you don't have to deal with modules as symbol
sources, find out their addresses, and load them at the right location.
> Is it possible to debug Xenomai with GDB and Qemu?
> Is it the good way to debug?
> Thank you for your attention and your help.
> Omar ZENATI
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
Xenomai-core mailing list