Re: how to interactively break gdb debugging kernel over serial?

george anzinger (george@mvista.com)
Sat, 15 Feb 2003 23:14:08 -0800


David Wuertele wrote:
> I'm debugging the kernel with gdb over a serial port. Breakpoints and
> stepping through code works great, except for the fact that once the
> kernel is running, I can't seem to use Control-C to stop it. Is there
> a keypress or other interactive way to break a running kernel?
>
> Thanks,
> Dave
>
Dave,

There are a great number of kgdb patches in the wild. You would help
us out a lot if you were to name the one you are using. If you are on
then 2.5 kernel I suggest you check out Andrew Morton's area and use
that one.

If you are using the one from source forge on a 2.4 kernel, there is a
mailing list for it that can be found at the same sourceforge site.

-- 
George Anzinger   george@mvista.com
High-res-timers:  http://sourceforge.net/projects/high-res-timers/
Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/