Re: Fix 32-bit thread debugging on x86_64

From: Andi Kleen
Date: Wed Aug 03 2005 - 04:15:08 EST


On Sun, Jul 31, 2005 at 04:05:58PM -0400, Daniel Jacobowitz wrote:
> 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?).

Looks good. Thanks.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/