remarkable-linux/arch/arm
Jason Wessel dcc7871128 kgdb: core changes to support kdb
These are the minimum changes to the kgdb core in order to enable an
API to connect a new front end (kdb) to the debug core.

This patch introduces the dbg_kdb_mode variable controls where the
user level I/O is routed.  It will be routed to the gdbstub (kgdb) or
to the kdb front end which is a simple shell available over the kgdboc
connection.

You can switch back and forth between kdb or the gdb stub mode of
operation dynamically.  From gdb stub mode you can blindly type
"$3#33", or from the kdb mode you can enter "kgdb" to switch to the
gdb stub.

The logic in the debug core depends on kdb to look for the typical gdb
connection sequences and return immediately with KGDB_PASS_EVENT if a
gdb serial command sequence is detected.  That should allow a
reasonably seamless transition between kdb -> gdb without leaving the
kernel exception state.  The two gdb serial queries that kdb is
responsible for detecting are the "?" and "qSupported" packets.

CC: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Acked-by: Martin Hicks <mort@sgi.com>
2010-05-20 21:04:21 -05:00
..
boot Merge branch 'devel-stable' into devel 2010-05-17 17:24:04 +01:00
common Merge branch 'devel-stable' into devel 2010-05-17 17:24:04 +01:00
configs Merge branch 'devel-stable' into devel 2010-05-17 17:24:04 +01:00
include/asm kdb: core for kgdb back end (2 of 2) 2010-05-20 21:04:21 -05:00
kernel kgdb: core changes to support kdb 2010-05-20 21:04:21 -05:00
lib
mach-aaec2000
mach-at91 ARM: remove 'select GENERIC_TIME' 2010-05-18 08:17:56 +01:00
mach-bcmring Merge branch 'devel-stable' into devel 2010-05-17 17:24:04 +01:00
mach-clps711x ARM: Remove useless linux/bootmem.h includes 2010-05-15 15:03:48 +01:00
mach-cns3xxx
mach-davinci Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2010-05-20 09:41:44 -07:00
mach-dove
mach-ebsa110
mach-ep93xx Merge branch 'devel-stable' into devel 2010-05-17 17:24:04 +01:00
mach-footbridge
mach-gemini
mach-h720x
mach-integrator Merge branch 'devel-stable' into devel 2010-05-17 17:24:04 +01:00
mach-iop13xx
mach-iop32x Merge branch 'devel-stable' into devel 2010-05-17 17:24:04 +01:00
mach-iop33x
mach-ixp4xx Merge branch 'devel-stable' into devel 2010-05-17 17:24:04 +01:00
mach-ixp23xx
mach-ixp2000
mach-kirkwood
mach-ks8695
mach-l7200
mach-lh7a40x
mach-loki
mach-mmp [ARM] mmp: append device support in jasper 2010-05-11 17:25:06 +02:00
mach-msm msm: 7x30 Kconfig and makefile changes 2010-05-13 16:08:55 -07:00
mach-mv78xx0
mach-mx1
mach-mx2
mach-mx3
mach-mx5
mach-mx25
mach-mxc91231
mach-netx
mach-nomadik
mach-ns9xxx
mach-nuc93x
mach-omap1 Merge branch 'devel-stable' into devel 2010-05-17 17:24:04 +01:00
mach-omap2 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2010-05-20 09:41:44 -07:00
mach-orion5x
mach-pnx4008
mach-pxa [ARM] pxa: make it clear by converting MMC 'delay_detect' to millisecond 2010-05-11 17:25:04 +02:00
mach-realview Merge branch 'devel-stable' into devel 2010-05-17 17:24:04 +01:00
mach-rpc
mach-s3c24a0/include/mach
mach-s3c64xx ARM: SAMSUNG: Move s3c64xx dev-ts.c to plat-samsung and rename configuration 2010-05-19 18:25:30 +09:00
mach-s3c2400
mach-s3c2410 ARM: SAMSUNG: Implements cfg_gpio function for Samsung touchscreen 2010-05-19 18:25:22 +09:00
mach-s3c2412 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2010-05-20 09:41:44 -07:00
mach-s3c2416 ARM: SMDK2416: Add support for framebuffer device and ensure correct setup 2010-05-18 18:46:30 +09:00
mach-s3c2440 ARM: Merge for-2635/gpio2 2010-05-19 18:04:08 +09:00
mach-s3c2443 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-05-20 09:20:59 -07:00
mach-s5p6440 ARM: SAMSUNG: Copy common I2C0 device helpers to machine directories 2010-05-19 18:16:04 +09:00
mach-s5p6442 ARM: SAMSUNG: Copy common I2C0 device helpers to machine directories 2010-05-19 18:16:04 +09:00
mach-s5pc100 ARM: S5PC100: Move i2c helpers from plat-s5pc1xx to mach-s5pc100 2010-05-19 18:23:37 +09:00
mach-s5pv210 ARM: SAMSUNG: Copy common I2C0 device helpers to machine directories 2010-05-19 18:16:04 +09:00
mach-sa1100
mach-shark
mach-shmobile ARM: remove 'select GENERIC_TIME' 2010-05-18 08:17:56 +01:00
mach-spear3xx
mach-spear6xx
mach-stmp37xx
mach-stmp378x
mach-u300 Merge branch 'devel-stable' into devel 2010-05-17 17:24:04 +01:00
mach-ux500
mach-versatile Merge branch 'devel-stable' into devel 2010-05-17 17:24:04 +01:00
mach-vexpress
mach-w90x900
mm Merge branch 'for-linus/samsung4' of git://git.fluff.org/bjdooks/linux 2010-05-19 11:49:33 -07:00
nwfpe Merge branch 'devel-stable' into devel 2010-05-17 17:24:04 +01:00
oprofile ARM: 6074/1: oprofile: convert from sysdev to platform device 2010-05-17 11:53:59 +01:00
plat-iop
plat-mxc
plat-nomadik Merge branch 'devel-stable' into devel 2010-05-17 17:24:04 +01:00
plat-omap Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2010-05-20 09:41:44 -07:00
plat-orion
plat-pxa Merge branch 'devel-stable' into devel 2010-05-17 17:24:04 +01:00
plat-s3c24xx ARM: SAMSUNG: Implements cfg_gpio function for Samsung touchscreen 2010-05-19 18:25:22 +09:00
plat-s5p ARM: S5PC100: Pre-requisite clock patch for plat-s5pc1xx to plat-s5p move 2010-05-19 18:22:47 +09:00
plat-s5pc1xx ARM: S5PC100: Move i2c helpers from plat-s5pc1xx to mach-s5pc100 2010-05-19 18:23:37 +09:00
plat-samsung Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2010-05-20 09:41:44 -07:00
plat-spear
plat-stmp3xxx
plat-versatile
tools
vfp
Kconfig Merge branch 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci 2010-05-19 12:08:50 -07:00
Kconfig-nommu
Kconfig.debug
Makefile Merge branch 'for-linus/samsung4' of git://git.fluff.org/bjdooks/linux 2010-05-19 11:49:33 -07:00