[PATCH 4/7] x86,early dr regs,kgdb: Allow kernel debugger early dr register access
If the kernel debugger was configured, attached and started with kgdbwait, the hardware breakpoint registers should get restored by the kgdb code which is managing the dr registers. CC: x86(a)kernel.org CC: Thomas Gleixner <tglx(a)linutronix.de> CC: Ingo Molnar <mingo(a)redhat.com> CC: H. Peter Anvin <hpa(a)zytor.com> ... 18 May 2010 22:31
[PATCH 20/25] kgdb: Add the ability to schedule a breakpoint via a tasklet
Some kgdb I/O modules require the ability to create a breakpoint tasklet, such as kgdboc and external modules such as kgdboe. The breakpoint tasklet is used as an asynchronous entry point into the debugger which will have a different function scope than the current execution path where it might not be safe to have... 18 May 2010 22:31
[PATCH 11/25] sh,sh-sci: Use NO_POLL_CHAR in the SCIF polled console code
The sci_poll_get_char() needs to return immediately if there is no input from the chip to process, and must return a value of NO_POLL_CHAR. This allows kgdboc to process multiple polled devices while kgdb is active. Signed-off-by: Jason Wessel <jason.wessel(a)windriver.com> Acked-by: Paul Mundt <lethal(a)linux-sh... 18 May 2010 22:31
[PATCH 1/7] x86, kgdb: early trap init for early debug
From: Jan Kiszka <jan.kiszka(a)web.de> Allow the x86 arch to have early exception processing for the purpose of debugging via the kgdb. Signed-off-by: Jan Kiszka <jan.kiszka(a)web.de> Signed-off-by: Jason Wessel <jason.wessel(a)windriver.com> --- arch/x86/include/asm/processor.h | 2 ++ arch/x86/kernel/setup.c... 18 May 2010 22:31
[PATCH 5/7] kgdboc: Add ekgdboc for early use of the kernel debugger
The ekgdboc= differs from kgdboc= in that you can begin debuggin as soon as the exceptions are setup and the kgdb I/O driver is available, instead of waiting until the tty subsystem is available. CC: kgdb-bugreport(a)lists.sourceforge.net Signed-off-by: Jason Wessel <jason.wessel(a)windriver.com> --- Documentation... 18 May 2010 22:31
[PATCH 21/25] kgdboc,kdb: Allow kdb to work on a non open console port
If kdb is open on a serial port that is not actually a console make sure to call the poll routines to emit and receive characters. Signed-off-by: Jason Wessel <jason.wessel(a)windriver.com> Acked-by: Martin Hicks <mort(a)sgi.com> --- drivers/serial/kgdboc.c | 14 ++++++++++++++ include/linux/kgdb.h | 3... 18 May 2010 22:31
[PATCH 01/25] Move kernel/kgdb.c to kernel/debug/debug_core.c
Move kgdb.c in preparation to separate the gdbstub from the debug core and exception handling. CC: Ingo Molnar <mingo(a)elte.hu> Signed-off-by: Jason Wessel <jason.wessel(a)windriver.com> --- kernel/Makefile | 2 +- kernel/debug/Makefile | 6 ++++++ kernel/{kgdb.c => de... 18 May 2010 22:31
[PATCH 06/25] kgdb,blackfin: Add in kgdb_arch_set_pc for blackfin
The new debug core api requires all architectures that use to debug core to implement a function to set the program counter. Signed-off-by: Jason Wessel <jason.wessel(a)windriver.com> Acked-by: Sonic Zhang <sonic.zhang(a)analog.com> Acked-by: Mike Frysinger <vapier(a)gentoo.org> --- arch/blackfin/kernel/kgdb.c | ... 18 May 2010 22:31
[PATCH 05/25] kgdb,sh: update superh kgdb exception handling
Implement kgdb_arch_pc() which adjusts the pc if it needs to be adjusted after a software breakpoint trap. Implement kgdb_arch_set_pc() which is a new required function in the kgdb debug core. When processing a single step return zero in the error exception field so that the debug core can distinguish between ... 18 May 2010 22:31
[GIT PULL] kdb / early debug (2 of 2) for 2.6.35
Linus please pull the dbg-early-merge tree which merges in the capability for early debugging for the x86 architecture. git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb.git dbg-early-merge --- Notes for Linus --- I did not receive acks or feedback from any x86 maintainers at this point fo... 18 May 2010 22:31