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
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 532 bytes |
Makefile | -rw-r--r-- | 274 bytes |
compr.c | -rw-r--r-- | 1.8 KB |
dev_bdev.c | -rw-r--r-- | 8.4 KB |
dev_mtd.c | -rw-r--r-- | 6.6 KB |
dir.c | -rw-r--r-- | 20.7 KB |
file.c | -rw-r--r-- | 7.2 KB |
gc.c | -rw-r--r-- | 20.2 KB |
inode.c | -rw-r--r-- | 10.8 KB |
journal.c | -rw-r--r-- | 23.7 KB |
logfs.h | -rw-r--r-- | 23.8 KB |
logfs_abi.h | -rw-r--r-- | 16.8 KB |
readwrite.c | -rw-r--r-- | 55.8 KB |
segment.c | -rw-r--r-- | 24.3 KB |
super.c | -rw-r--r-- | 16.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...