aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-01-09 20:48:43 +0000
committerMichael Snyder <msnyder@vmware.com>2002-01-09 20:48:43 +0000
commitdb4a10fae49f262f7881c4be50716f9501d7e433 (patch)
tree683579d8105829447d2fa86634b81a45c38c612c
parentb4db1224b76fe25c9770904953491be0e51cb9fb (diff)
downloadgdb-db4a10fae49f262f7881c4be50716f9501d7e433.zip
gdb-db4a10fae49f262f7881c4be50716f9501d7e433.tar.gz
gdb-db4a10fae49f262f7881c4be50716f9501d7e433.tar.bz2
2002-01-09 Michael Snyder <msnyder@redhat.com>
* gregset.h (gdb_fpxregset_t): Define. (supply_fpxregset): Prototype. (fill_fpxregset): Prototype.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/gregset.h16
2 files changed, 19 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b00532c..9708ba0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2002-01-09 Michael Snyder <msnyder@redhat.com>
+ * gregset.h (gdb_fpxregset_t): Define.
+ (supply_fpxregset): Prototype.
+ (fill_fpxregset): Prototype.
+
* exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
2002-01-09 Richard Earnshaw <rearnsha@arm.com>
diff --git a/gdb/gregset.h b/gdb/gregset.h
index dc4aa4e..f51dded 100644
--- a/gdb/gregset.h
+++ b/gdb/gregset.h
@@ -1,5 +1,5 @@
/* Interface for functions using gregset and fpregset types.
- Copyright 2000 Free Software Foundation, Inc.
+ Copyright 2000, 2002 Free Software Foundation, Inc.
This file is part of GDB.
@@ -52,4 +52,18 @@ extern void supply_fpregset (gdb_fpregset_t *fpregs);
extern void fill_gregset (gdb_gregset_t *gregs, int regno);
extern void fill_fpregset (gdb_fpregset_t *fpregs, int regno);
+#ifdef HAVE_PTRACE_GETFPXREGS
+/* Linux/i386: Copy register values between GDB's internal register cache
+ and the i386 extended floating point registers. */
+
+#ifndef GDB_FPXREGSET_T
+#define GDB_FPXREGSET_T elf_fpxregset_t
+#endif
+
+typedef GDB_FPXREGSET_T gdb_fpxregset_t;
+
+extern void supply_fpxregset (gdb_fpxregset_t *fpxregs);
+extern void fill_fpxregset (gdb_fpxregset_t *fpxregs, int regno);
+#endif
+
#endif