summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-08-04 22:41:09 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-05 01:28:27 +0200
commite8ed11b9dc07df0134248542ca8e7d40751a6052 (patch)
treefe86ae2bcc5b1bb0ffee134005bd2449aea0eada /kernel
parent[PATCH] remove special HPET_EMULATE_RTC config option (diff)
downloadlinux-e8ed11b9dc07df0134248542ca8e7d40751a6052.tar.xz
linux-e8ed11b9dc07df0134248542ca8e7d40751a6052.zip
[PATCH] x86_64: fix 32-bit thread debugging
The IA32 ptrace emulation currently returns the wrong registers for fs/gs; it's returning what x86_64 calls gs_base. We need regs.gsindex in order for GDB to correctly locate the TLS area. Without this patch, the 32-bit GDB testsuite bombs on a 64-bit kernel. With it, results look about like I'd expect, although there are still a handful of kernel-related failures (vsyscall related?). Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com> Acked-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions