Revision 5f630401f9e98bd062733b5bbef096dbf2158066 authored by Tiejun Chen on 22 August 2012, 16:10:20 UTC, committed by Benjamin Herrenschmidt on 24 August 2012, 10:26:06 UTC
For powerpc BooKE and e200, singlestep is handled on the critical/dbg
exception stack. This causes current_thread_info() to fail for kgdb
internal, so previously We work around this issue by copying
the thread_info from the kernel stack before calling kgdb_handle_exception,
and copying it back afterwards.

But actually we don't do this properly. We should backup current_thread_info
then restore that when exit.

Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
1 parent 949616c
History
File Mode Size
Kconfig -rw-r--r-- 2.8 KB
Makefile -rw-r--r-- 741 bytes
array.c -rw-r--r-- 18.0 KB
base.c -rw-r--r-- 87.4 KB
cmdline.c -rw-r--r-- 651 bytes
consoles.c -rw-r--r-- 2.2 KB
cpuinfo.c -rw-r--r-- 564 bytes
devices.c -rw-r--r-- 1.4 KB
generic.c -rw-r--r-- 19.4 KB
inode.c -rw-r--r-- 12.0 KB
internal.h -rw-r--r-- 5.1 KB
interrupts.c -rw-r--r-- 1.1 KB
kcore.c -rw-r--r-- 15.2 KB
kmsg.c -rw-r--r-- 1.5 KB
loadavg.c -rw-r--r-- 1.1 KB
meminfo.c -rw-r--r-- 4.9 KB
mmu.c -rw-r--r-- 1.4 KB
namespaces.c -rw-r--r-- 4.1 KB
nommu.c -rw-r--r-- 3.3 KB
page.c -rw-r--r-- 4.9 KB
proc_devtree.c -rw-r--r-- 5.3 KB
proc_net.c -rw-r--r-- 4.6 KB
proc_sysctl.c -rw-r--r-- 39.0 KB
proc_tty.c -rw-r--r-- 4.7 KB
root.c -rw-r--r-- 5.6 KB
softirqs.c -rw-r--r-- 993 bytes
stat.c -rw-r--r-- 5.8 KB
task_mmu.c -rw-r--r-- 31.5 KB
task_nommu.c -rw-r--r-- 7.1 KB
uptime.c -rw-r--r-- 1.3 KB
version.c -rw-r--r-- 761 bytes
vmcore.c -rw-r--r-- 17.6 KB

back to top