Module Name: src
Committed By: christos
Date: Mon Jan 23 21:24:44 UTC 2012
Modified Files:
src/external/gpl3/gdb/dist/gdb: armnbsd-nat.c
Log Message:
add supply_{g,fp}regset()
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gdb/dist/gdb/armnbsd-nat.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gdb/dist/gdb/armnbsd-nat.c
diff -u src/external/gpl3/gdb/dist/gdb/armnbsd-nat.c:1.4 src/external/gpl3/gdb/dist/gdb/armnbsd-nat.c:1.5
--- src/external/gpl3/gdb/dist/gdb/armnbsd-nat.c:1.4 Sun Jan 22 15:27:28 2012
+++ src/external/gpl3/gdb/dist/gdb/armnbsd-nat.c Mon Jan 23 16:24:43 2012
@@ -181,6 +181,18 @@ fill_fpregset (const struct regcache *re
regcache_raw_collect (regcache, ARM_FPS_REGNUM, (char *) &fpregsetp->fpr_fpsr);
}
+void
+supply_gregset (struct regcache *regcache, const gdb_gregset_t *gregsetp)
+{
+ arm_supply_gregset (regcache, (struct reg *)gregsetp);
+}
+
+void
+supply_fpregset (struct regcache *regcache, const gdb_fpregset_t *fpregsetp)
+{
+ arm_supply_fparegset (regcache, (struct fpreg *)fpregsetp);
+}
+
static void
fetch_register (struct regcache *regcache, int regno)
{