[PATCH 0/3] kgdb 2.6.27 mips

From: Jason Wessel
Date: Fri Jul 18 2008 - 13:10:15 EST


This is a pretty significant change to kgdb mips in that it removes
the per board kgdb support to replace it with general kgdb
architecture support using the kernel's kgdb core architecture.

In the new model kgdb has no impact to the kernel's run time exceptions
or performance so long as no kgdb I/O driver is configured.

For boards that need specific uart drivers for kgdb, it should not be
too hard to add in kgdboc support as was done for the 8250 uart which
is supported by many of the mips specific boards already.

Jason Wessel (3):
kgdb, mips: Remove existing kgdb implementation
kgdb, mips: add arch support for the kernel's kgdb core
kgdb, mips: pad pt_regs on MIPS64 for function arguments in an exception

arch/mips/Kconfig | 7 +-
arch/mips/Kconfig.debug | 22 -
arch/mips/au1000/Kconfig | 1 -
arch/mips/au1000/common/Makefile | 1 -
arch/mips/au1000/common/dbg_io.c | 109 ---
arch/mips/basler/excite/Makefile | 1 -
arch/mips/basler/excite/excite_dbg_io.c | 121 ---
arch/mips/basler/excite/excite_irq.c | 7 -
arch/mips/basler/excite/excite_setup.c | 4 +-
arch/mips/configs/db1000_defconfig | 1 -
arch/mips/configs/db1100_defconfig | 1 -
arch/mips/configs/db1200_defconfig | 1 -
arch/mips/configs/db1500_defconfig | 1 -
arch/mips/configs/db1550_defconfig | 1 -
arch/mips/configs/excite_defconfig | 1 -
arch/mips/configs/ip27_defconfig | 1 -
arch/mips/configs/msp71xx_defconfig | 2 -
arch/mips/configs/mtx1_defconfig | 1 -
arch/mips/configs/pb1100_defconfig | 1 -
arch/mips/configs/pb1500_defconfig | 1 -
arch/mips/configs/pb1550_defconfig | 1 -
arch/mips/configs/pnx8550-jbs_defconfig | 4 +-
arch/mips/configs/pnx8550-stb810_defconfig | 4 +-
arch/mips/configs/rbtx49xx_defconfig | 1 -
arch/mips/configs/sb1250-swarm_defconfig | 1 -
arch/mips/configs/yosemite_defconfig | 2 -
arch/mips/kernel/Makefile | 2 +-
arch/mips/kernel/gdb-stub.c | 1155 ------------------------
arch/mips/kernel/irq.c | 30 +-
arch/mips/kernel/kgdb.c | 295 ++++++
arch/mips/kernel/{gdb-low.S => kgdb_handler.S} | 161 ++---
arch/mips/kernel/traps.c | 6 +
arch/mips/mti-malta/Makefile | 1 -
arch/mips/mti-malta/malta-init.c | 54 --
arch/mips/mti-malta/malta-kgdb.c | 133 ---
arch/mips/mti-malta/malta-setup.c | 4 -
arch/mips/nxp/pnx8550/common/Makefile | 1 -
arch/mips/nxp/pnx8550/common/gdb_hook.c | 109 ---
arch/mips/nxp/pnx8550/common/setup.c | 12 -
arch/mips/pmc-sierra/msp71xx/msp_serial.c | 73 --
arch/mips/pmc-sierra/yosemite/Makefile | 1 -
arch/mips/pmc-sierra/yosemite/dbg_io.c | 180 ----
arch/mips/pmc-sierra/yosemite/irq.c | 9 -
arch/mips/sgi-ip22/ip22-setup.c | 24 -
arch/mips/sgi-ip27/Makefile | 1 -
arch/mips/sgi-ip27/ip27-dbgio.c | 60 --
arch/mips/sibyte/bcm1480/irq.c | 80 --
arch/mips/sibyte/cfe/setup.c | 14 -
arch/mips/sibyte/sb1250/irq.c | 60 --
arch/mips/sibyte/swarm/Makefile | 1 -
arch/mips/sibyte/swarm/dbg_io.c | 76 --
arch/mips/txx9/Kconfig | 2 -
arch/mips/txx9/generic/Makefile | 1 -
arch/mips/txx9/generic/dbgio.c | 48 -
arch/mips/txx9/jmr3927/Makefile | 1 -
arch/mips/txx9/jmr3927/kgdb_io.c | 105 ---
include/asm-mips/asmmacro-32.h | 43 +
include/asm-mips/asmmacro-64.h | 99 ++
include/asm-mips/kgdb.h | 54 ++
include/asm-mips/ptrace.h | 2 +-
60 files changed, 569 insertions(+), 2626 deletions(-)
delete mode 100644 arch/mips/au1000/common/dbg_io.c
delete mode 100644 arch/mips/basler/excite/excite_dbg_io.c
delete mode 100644 arch/mips/kernel/gdb-stub.c
create mode 100644 arch/mips/kernel/kgdb.c
rename arch/mips/kernel/{gdb-low.S => kgdb_handler.S} (68%)
delete mode 100644 arch/mips/mti-malta/malta-kgdb.c
delete mode 100644 arch/mips/nxp/pnx8550/common/gdb_hook.c
delete mode 100644 arch/mips/pmc-sierra/yosemite/dbg_io.c
delete mode 100644 arch/mips/sgi-ip27/ip27-dbgio.c
delete mode 100644 arch/mips/sibyte/swarm/dbg_io.c
delete mode 100644 arch/mips/txx9/generic/dbgio.c
delete mode 100644 arch/mips/txx9/jmr3927/kgdb_io.c
create mode 100644 include/asm-mips/kgdb.h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/