kgdb 2.6.28 merge plans

From: Jason Wessel
Date: Tue Oct 21 2008 - 15:17:43 EST

It is late in the merge window, but these are plans for the kgdb
merges for 2.6.28.

* The blackfin folks needed some changes to the kgdb core
to allow some more flexibility
* Another kgdboc I/O drivers is ready for merge
* The CONSOLE_POLL API has been extended to allow for
an RX poll call back from a low level serial driver
* kgdboc will request/allocate a tty so as to sync with
the user space with respect to having only one
invocation of the low level start up code.

To an end user there are a couple key differences with the enhanced
kgdboc. There were numerous complaints that folks just wanted kgdboc
to work like the 8250_kgdb module where gdb could just connect and it
worked. This is the new default behavior of kgdboc. It will
intercept a control-c or the start of a gdb serial packet and
automatically jump into the debugger, much like the 8250_kgdb module.
The other difference is that with the tty allocation, kgdboc can also
now be configured on a non-console or inactive serial port.

After this patch set is applied the only thing that kgdboc cannot
currently do that the 8250_kgdb module could is perform debugging
before the tty and console kernel subsystems have been initialized in
the kernel. It is likely that this can be accomplished a different
way in the future and the 8250_kgdb module will be deprecated and
never merged to the mainline kernel.

Final regression testing for these features is being completed in the
next day. Find the code at:

git:// for_linus

Short log follows:

Atsushi Nemoto (1):
kgdb: kgdboc console poll hooks for serial_txx9 uart

Jason Wessel (5):
kgdb: Add the ability to schedule a breakpoint via a tasklet
tty: Fix sparse static warning for tty_driver_lookup_tty
kgdboc, tty: Add the rx polling call back capability
kgdboc, 8250: Add the rx polling hook to 8250 driver
kgdboc, tty: use tty open to start low level drivers

Sonic Zhang (1):
kgdb: Make mem access function weak in kgdb.c andkgdb.h

Documentation/DocBook/kgdb.tmpl | 49 ++++++++++++++---
drivers/char/tty_io.c | 105 +++++++++++++++++++++++++++++++-----
drivers/serial/8250.c | 4 ++
drivers/serial/kgdboc.c | 82 +++++++++++++++++++++++++++-
drivers/serial/serial_core.c | 24 ++++++++-
drivers/serial/serial_txx9.c | 113 +++++++++++++++++++++++++++++++-------
include/linux/kgdb.h | 43 ++++++++++++++-
include/linux/serial_core.h | 3 +
include/linux/tty_driver.h | 8 +++-
kernel/kgdb.c | 33 ++++++++++-
10 files changed, 413 insertions(+), 51 deletions(-)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at