summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2007-05-01 18:26:22 +0000
committermarcel <marcel@FreeBSD.org>2007-05-01 18:26:22 +0000
commit667272457b63f38c49995460174a5c9e9260141e (patch)
treee9326976faef84a9a75832b7455af133c7348797
parente1ca5f48d2ca1e292b0e281bfc6249875436f141 (diff)
downloadFreeBSD-src-667272457b63f38c49995460174a5c9e9260141e.zip
FreeBSD-src-667272457b63f38c49995460174a5c9e9260141e.tar.gz
Define supply_gregset() and supply_fpregset(). They are needed
by our threading support.
-rw-r--r--contrib/gdb/gdb/ppcfbsd-nat.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/gdb/gdb/ppcfbsd-nat.c b/contrib/gdb/gdb/ppcfbsd-nat.c
index 660a0ed..a6efa9d 100644
--- a/contrib/gdb/gdb/ppcfbsd-nat.c
+++ b/contrib/gdb/gdb/ppcfbsd-nat.c
@@ -143,11 +143,23 @@ fill_gregset (char *regs, int regnum)
}
void
+supply_gregset (char *regs)
+{
+ ppcfbsd_supply_reg (regs, -1);
+}
+
+void
fill_fpregset (char *fpregs, int regnum)
{
ppcfbsd_fill_fpreg (fpregs, regnum);
}
+void
+supply_fpregset (char *fpregs)
+{
+ ppcfbsd_supply_fpreg (fpregs, -1);
+}
+
/* Provide a prototype to silence -Wmissing-prototypes. */
void _initialize_ppcfbsd_nat (void);
OpenPOWER on IntegriCloud