aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-nat.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:45:09 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:45:09 +0000
commitec22ec346b8e22135fd4cb48aa3853f032dee331 (patch)
tree54b381819ab21219ca7a72b8f76df555a5cde60d /gdb/sparc-nat.h
parenta97b0ac8cf1c8a5148d8c79908a0ef9378891e31 (diff)
downloadgdb-ec22ec346b8e22135fd4cb48aa3853f032dee331.zip
gdb-ec22ec346b8e22135fd4cb48aa3853f032dee331.tar.gz
gdb-ec22ec346b8e22135fd4cb48aa3853f032dee331.tar.bz2
* sparc64-nat.c (sparc64_gregset_supplies_p): Add GDBARCH parameter.
Use it instead of current_gdbarch. Pass architecture to sparc32_gregset_supplies_p. (sparc64_fpregset_supplies_p): Add GDBARCH parameter. Use it instead of current_gdbarch. Pass architecture to sparc32_fpregset_supplies_p. * sparc64nbsd-nat.c (sparc64nbsd_gregset_supplies_p, sparc64nbsd_fpregset_supplies_p): Likewise. * sparc-nat.c (sparc_gregset_supplies_p, sparc_fpregset_supplies_p): Add GDBARCH parameter. (sparc32_gregset_supplies_p, sparc32_fpregset_supplies_p): Likewise. (sparc_fetch_inferior_registers): Pass regcache architecture to sparc_gregset_supplies_p and sparc_fpregset_supplies_p. (sparc_store_inferior_registers): Likewise. * sparc-nat.h (sparc_gregset_supplies_p, sparc_fpregset_supplies_p: Add GDBARCH parameter. (sparc32_gregset_supplies_p, sparc32_fpregset_supplies_p): Likewise.
Diffstat (limited to 'gdb/sparc-nat.h')
-rw-r--r--gdb/sparc-nat.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/sparc-nat.h b/gdb/sparc-nat.h
index ab07a04..556d522 100644
--- a/gdb/sparc-nat.h
+++ b/gdb/sparc-nat.h
@@ -29,11 +29,11 @@ extern void (*sparc_collect_gregset) (const struct sparc_gregset *,
const struct regcache *, int, void *);
extern void (*sparc_supply_fpregset) (struct regcache *, int , const void *);
extern void (*sparc_collect_fpregset) (const struct regcache *, int , void *);
-extern int (*sparc_gregset_supplies_p) (int);
-extern int (*sparc_fpregset_supplies_p) (int);
+extern int (*sparc_gregset_supplies_p) (struct gdbarch *gdbarch, int);
+extern int (*sparc_fpregset_supplies_p) (struct gdbarch *gdbarch, int);
-extern int sparc32_gregset_supplies_p (int regnum);
-extern int sparc32_fpregset_supplies_p (int regnum);
+extern int sparc32_gregset_supplies_p (struct gdbarch *gdbarch, int regnum);
+extern int sparc32_fpregset_supplies_p (struct gdbarch *gdbarch, int regnum);
/* Create a prototype generic SPARC target. The client can override
it with local methods. */