lkml.org 
[lkml]   [2003]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: how to interactively break gdb debugging kernel over serial?
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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.116 / U:0.096 seconds]
©2003-2014 Jasper Spaans. Advertise on this site