[Linux-ia64] [PATCH] IA-32 emulation patch: ptrace get_FPREGS bug fix

From: Pallipadi, Venkatesh <venkatesh.pallipadi_at_intel.com>
Date: 2003-05-31 11:19:02
A bug-fix in IA-32 emulation ptrace code. The bug originally got
introduced with the addition of FPXREGS support in ptrace.

The bug is in ptrace get/set FPREGS routine. gdb by default will not use
FPREGS routines when FPXREGS routines are supported.  So we may not see
this bug during normal gdb operations. But, if gdb (or any other app)
directly tries to get/set FPREGS (probably an old version of gdb), it
will end with an segmentation fault due to this bug.

Attached patch fixes the issue. The patch is taken against 2.5.69. But
it applies to 2.4 tree as well. 

Please let me know, if you need any more information on this.


Received on Fri May 30 18:19:09 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:15 EST