Hi there,
I have been experimenting with KGDB for some time now, trying to get it to work. Still, I have had somewhat limited success.
KGDB was included in the mainline vanilla kernel for kernels 2.6.27 and after. So, it should already be in the kernel source for your Ubuntu release.
Make sure you have the kernel source that came with Ubuntu installed, then run a
and go to
. Under that menu, you *should* see a list item that pertains to KGDB. Enable that, and the Magic SysRq option as well.