aboutsummaryrefslogtreecommitdiff
path: root/gdb/gregset.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-04-24 22:09:58 +0000
committerDaniel Jacobowitz <drow@false.org>2002-04-24 22:09:58 +0000
commit32872fa78efd735aabd79d9995dab723885560f5 (patch)
tree2f89a1a1caed0902545bc0a5f22dba343c1f08ca /gdb/gregset.h
parentaf55c2e6c3b2479292a76224a93f0504ceaacf55 (diff)
downloadgdb-32872fa78efd735aabd79d9995dab723885560f5.zip
gdb-32872fa78efd735aabd79d9995dab723885560f5.tar.gz
gdb-32872fa78efd735aabd79d9995dab723885560f5.tar.bz2
2002-04-24 Daniel Jacobowitz <drow@mvista.com>
* config/i386/tm-linux.h: Define FILL_FPXREGSET. * gregset.h: If FILL_FPXREGSET is defined, provide gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset. * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET is defined, call fill_fpxregset.
Diffstat (limited to 'gdb/gregset.h')
-rw-r--r--gdb/gregset.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/gregset.h b/gdb/gregset.h
index a3a1325..cb27517 100644
--- a/gdb/gregset.h
+++ b/gdb/gregset.h
@@ -52,5 +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 FILL_FPXREGSET
+/* 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