aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/i386-linux-nat.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9708ba0..34b4a85 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2002-01-09 Michael Snyder <msnyder@redhat.com>
+ * i386-linux-nat.c (fill_fpxregset): Make global.
+ (store_fpxregset): Ditto.
+
* gregset.h (gdb_fpxregset_t): Define.
(supply_fpxregset): Prototype.
(fill_fpxregset): Prototype.
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c
index 1b8ea4a..aa2fa65 100644
--- a/gdb/i386-linux-nat.c
+++ b/gdb/i386-linux-nat.c
@@ -1,5 +1,5 @@
/* Native-dependent code for Linux/x86.
- Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GDB.
@@ -452,7 +452,7 @@ static void store_fpregs (int tid, int regno) {}
/* Fill GDB's register array with the floating-point and SSE register
values in *FPXREGSETP. */
-static void
+void
supply_fpxregset (elf_fpxregset_t *fpxregsetp)
{
i387_supply_fxsave ((char *) fpxregsetp);
@@ -462,7 +462,7 @@ supply_fpxregset (elf_fpxregset_t *fpxregsetp)
*FPXREGSETP with the value in GDB's register array. If REGNO is
-1, do this for all registers. */
-static void
+void
fill_fpxregset (elf_fpxregset_t *fpxregsetp, int regno)
{
i387_fill_fxsave ((char *) fpxregsetp, regno);