summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-04-10 07:00:30 +0200
committerPaul Mundt <lethal@linux-sh.org>2012-04-10 07:00:30 +0200
commit10c5e4e137dc97e54cabd62a6109988ff8670faa (patch)
tree7c7a87cc5550fbc657d66b51733b1a33c459d35d /include
parentsh: kgdb: Individual register get/set support. (diff)
downloadlinux-10c5e4e137dc97e54cabd62a6109988ff8670faa.tar.xz
linux-10c5e4e137dc97e54cabd62a6109988ff8670faa.zip
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions