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 {fill, supply}_{g, fp}regset(), ...



details:   https://anonhg.NetBSD.org/src/rev/fcf85e4a5b43
branches:  trunk
changeset: 772995:fcf85e4a5b43
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 23 21:28:40 2012 +0000

description:
add {fill,supply}_{g,fp}regset(), completely untested.

diffstat:

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

diffs (34 lines):

diff -r c3f9ebaba735 -r fcf85e4a5b43 external/gpl3/gdb/dist/gdb/sparc64nbsd-nat.c
--- a/external/gpl3/gdb/dist/gdb/sparc64nbsd-nat.c      Mon Jan 23 21:24:43 2012 +0000
+++ b/external/gpl3/gdb/dist/gdb/sparc64nbsd-nat.c      Mon Jan 23 21:28:40 2012 +0000
@@ -127,6 +127,30 @@
 }
 
 
+void
+supply_gregset (struct regcache *regcache, const prgregset_t *gregs)
+{
+  sparc64nbsd_supply_gregset (sparc_gregset, regcache, -1, gregs);
+}
+
+void
+supply_fpregset (struct regcache *regcache, const prfpregset_t *fpregs)
+{
+  sparc64nbsd_supply_fpregset (regcache, -1, fpregs);
+}
+
+void
+fill_gregset (const struct regcache *regcache, prgregset_t *gregs, int regnum)
+{
+  sparc64nbsd_collect_gregset (sparc_gregset, regcache, regnum, gregs);
+}
+
+void
+fill_fpregset (const struct regcache *regcache,
+              prfpregset_t *fpregs, int regnum)
+{
+  sparc64nbsd_collect_fpregset (regcache, regnum, fpregs);
+}
 /* Support for debugging kernel virtual memory images.  */
 
 #include <sys/types.h>



Home | Main Index | Thread Index | Old Index