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

From: george anzinger (george@mvista.com)
Date: Tue Feb 18 2003 - 17:49:10 EST


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
>
>
> george> There are a great number of kgdb patches in the wild. You
> george> would help us out a lot if you were to name the one you are
> george> using.
>
> Here's the output from gdb --version:
>
> GNU gdb Red Hat Linux (5.1.90CVS-5)
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "i386-redhat-linux".
>
> Does that help?

NO :( It is the KGDB patch that you are using that is of interest
here, not the gdb program.

-- 
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/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:23 EST