]> git.baikalelectronics.ru Git - kernel.git/commit
kgdb, powerpc: arch specific powerpc kgdb support
authorJason Wessel <jason.wessel@windriver.com>
Wed, 23 Jul 2008 16:30:15 +0000 (11:30 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Wed, 23 Jul 2008 16:30:15 +0000 (11:30 -0500)
commit7d798896ab15ba5eb2b852fea3a05ca92ec1145e
treea53c70b553363ce404ff49cb49ccc532cf4c7e78
parent1f8c3295963e435c17dae112536bd621d9c55fd4
kgdb, powerpc: arch specific powerpc kgdb support

This patch removes the old kgdb reminants from ARCH=powerpc and
implements the new style arch specific stub for the common kgdb core
interface.

It is possible to have xmon and kgdb in the same kernel, but you
cannot use both at the same time because there is only one set of
debug hooks.

The arch specific kgdb implementation saves the previous state of the
debug hooks and restores them if you unconfigure the kgdb I/O driver.
Kgdb should have no impact on a kernel that has no kgdb I/O driver
configured.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
arch/powerpc/Kconfig
arch/powerpc/Kconfig.debug
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/kgdb.c [new file with mode: 0644]
arch/powerpc/kernel/setup_32.c
arch/powerpc/platforms/powermac/setup.c
include/asm-powerpc/kgdb.h