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-- 4.1 KB
Makefile -rw-r--r-- 426 bytes
dir.c -rw-r--r-- 32.4 KB
file.c -rw-r--r-- 6.7 KB
getopt.c -rw-r--r-- 1.9 KB
getopt.h -rw-r--r-- 367 bytes
inode.c -rw-r--r-- 26.9 KB
ioctl.c -rw-r--r-- 22.4 KB
mmap.c -rw-r--r-- 2.9 KB
ncp_fs.h -rw-r--r-- 2.9 KB
ncp_fs_i.h -rw-r--r-- 540 bytes
ncp_fs_sb.h -rw-r--r-- 5.1 KB
ncplib_kernel.c -rw-r--r-- 32.5 KB
ncplib_kernel.h -rw-r--r-- 7.7 KB
ncpsign_kernel.c -rw-r--r-- 3.6 KB
ncpsign_kernel.h -rw-r--r-- 700 bytes
sock.c -rw-r--r-- 22.7 KB
symlink.c -rw-r--r-- 4.2 KB

back to top