Re: Fix 32-bit thread debugging on x86_64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux