summaryrefslogtreecommitdiff
path: root/gdb/i386-linux-nat.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-11-09 01:23:00 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-11-09 01:23:00 +0000
commit60f2ede3f2c78299b0ddfddc251220b11a9d0df7 (patch)
treede548149b0f585633970155f16f7843ae63c7911 /gdb/i386-linux-nat.c
parent82b2c20d01ea1a370f8e48f6de2c40b5d1cf82b7 (diff)
downloadgdb-60f2ede3f2c78299b0ddfddc251220b11a9d0df7.tar.gz
import gdb-1999-11-08 snapshotgdb-1999-11-08
Diffstat (limited to 'gdb/i386-linux-nat.c')
-rw-r--r--gdb/i386-linux-nat.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c
index 65731533271..15debfcfb59 100644
--- a/gdb/i386-linux-nat.c
+++ b/gdb/i386-linux-nat.c
@@ -325,6 +325,13 @@ store_fpregs ()
/* Transfering floating-point and SSE registers to and from GDB. */
+/* PTRACE_GETXFPREGS is a Cygnus invention, since we wrote our own
+ Linux kernel patch for SSE support. That patch may or may not
+ actually make it into the official distribution. If you find that
+ years have gone by since this code was added, and Linux isn't using
+ PTRACE_GETXFPREGS, that means that our patch didn't make it, and
+ you can delete this code. */
+
#ifdef HAVE_PTRACE_GETXFPREGS
static void
supply_xfpregset (struct user_xfpregs_struct *xfpregs)