linux/arch/sh
Paul Mundt 10c5e4e137 sh: kgdb: Fill out sleeping_thread_to_gdb_regs() state.
Presently we're using a pretty dumbed-down implementation that copies
over register state visible from the thread info, leaving the bulk of the
switch_to state uncopied.

Given that we're also depending on register bank toggling for switch_to
optimization we ought to also explicitly zero out the GP regs that reside
in an alternate bank in order to prevent handing back garbage.

There are a few extra registers that we have state for in switch_to, so
copy those over while we're at it.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2012-04-10 14:00:30 +09:00
..
boards sh: fix up fallout from system.h disintegration. 2012-03-30 19:29:57 +09:00
boot Kbuild: centralize MKIMAGE and cmd_uimage definitions 2012-03-26 15:49:20 +02:00
cchips sh: Convert to new function names 2011-03-29 14:48:13 +02:00
configs sh: fix compile error using sh7757lcr_defconfig 2011-06-21 17:40:42 +09:00
drivers sh: dma: Fix up device attribute mismatch from sysdev fallout. 2012-03-30 19:36:03 +09:00
include sh: kgdb: Individual register get/set support. 2012-04-10 13:42:56 +09:00
kernel sh: kgdb: Fill out sleeping_thread_to_gdb_regs() state. 2012-04-10 14:00:30 +09:00
lib sh: Ensure ST40-300 BogoMIPS value is consistent 2011-02-15 16:24:05 +09:00
lib64 Fix common misspellings 2011-03-31 11:26:23 -03:00
math-emu Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
mm SuperH updates for 3.4-rc1 2012-04-07 09:52:46 -07:00
oprofile oprofile, arm/sh: Fix oprofile_arch_exit() linkage issue 2011-12-23 11:58:34 +01:00
tools sh: Add support for AP-SH4AD-0A board. 2011-01-13 18:36:21 +09:00
Kconfig SuperH updates for 3.4 merge window 2012-03-30 00:09:17 -07:00
Kconfig.cpu sh: Turn on speculative return for SH7785 and SH7786 2010-02-18 18:54:18 +09:00
Kconfig.debug sh: dwarf unwinder depends on SHcompact. 2012-03-30 19:31:22 +09:00
Makefile sh: Add default uImage rule for sh7757lcr 2011-11-01 16:01:12 +09:00