Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/gdb add supply_{g, fp}regset()



details:   https://anonhg.NetBSD.org/src/rev/c3f9ebaba735
branches:  trunk
changeset: 772994:c3f9ebaba735
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 23 21:24:43 2012 +0000

description:
add supply_{g,fp}regset()

diffstat:

 external/gpl3/gdb/dist/gdb/armnbsd-nat.c |  12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r 43832ca37942 -r c3f9ebaba735 external/gpl3/gdb/dist/gdb/armnbsd-nat.c
--- a/external/gpl3/gdb/dist/gdb/armnbsd-nat.c  Mon Jan 23 16:22:57 2012 +0000
+++ b/external/gpl3/gdb/dist/gdb/armnbsd-nat.c  Mon Jan 23 21:24:43 2012 +0000
@@ -181,6 +181,18 @@
     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)
 {



Home | Main Index | Thread Index | Old Index