I-pipe:kgdb

From Xenomai

Jump to: navigation, search

If you haven't looked in the mailing lists, this text is from: https://mail.gna.org/public/xenomai-help/2007-04/msg00105.html

Jan Kiszka wrote:

"For 2.6.16 and .17, I adapted kgdb to work with ipipe [1]. That means you were able to attach gdb to your system via a serial nullmodem link.

[1] http://download.gna.org/adeos/patches/v2.6/i386/kgdb/


Unfortunately, the kgbd development itself became unsteady again (it stalled for more than half a year)[as of 14 April, 2007], so we have no recent vanilla kgdb patches at the moment. This may change again in the future, but doesn't help right now.


In the meantime, what you can try is to direct your console output to a serial console and use pipe_set_printk_sync ( &rthal_root ) to force synchronous printk even for the Xenomai domain. Moreover, switch on debug support in Xenomai, specifically CONFIG_XENO_OPT_DEBUG_RTDM and CONFIG_XENO_OPT_WATCHDOG.

"

Personal tools