Module Name:    src
Committed By:   christos
Date:           Mon Jan 23 21:28:41 UTC 2012

Modified Files:
        src/external/gpl3/gdb/dist/gdb: sparc64nbsd-nat.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gdb/dist/gdb/sparc64nbsd-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/sparc64nbsd-nat.c
diff -u src/external/gpl3/gdb/dist/gdb/sparc64nbsd-nat.c:1.2 src/external/gpl3/gdb/dist/gdb/sparc64nbsd-nat.c:1.3
--- src/external/gpl3/gdb/dist/gdb/sparc64nbsd-nat.c:1.2	Sun Sep 25 12:30:25 2011
+++ src/external/gpl3/gdb/dist/gdb/sparc64nbsd-nat.c	Mon Jan 23 16:28:40 2012
@@ -127,6 +127,30 @@ sparc64nbsd_fpregset_supplies_p (struct 
 }
 
 
+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>

Reply via email to