summaryrefslogtreecommitdiff
path: root/gdb/amd64-nat.h
diff options
context:
space:
mode:
authorMarkus Deuling <deuling@de.ibm.com>2008-01-16 04:52:52 +0000
committerMarkus Deuling <deuling@de.ibm.com>2008-01-16 04:52:52 +0000
commit3ec2ff07e4c02d87acba3d76df0a745d70462363 (patch)
tree7f8782ac2660b5d3d97d4ef6482806dbba2bfc49 /gdb/amd64-nat.h
parent890b9de403a415f5caae396d4d093e9066223676 (diff)
downloadgdb-3ec2ff07e4c02d87acba3d76df0a745d70462363.tar.gz
* amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
parameter. * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise. (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace current_gdbarch by gdbarch. Update caller. * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers) (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at the current architecture. Update calls of amd64_native_gregset_supplies_p. * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers) (amd64bsd_store_inferior_registers): Likewise.
Diffstat (limited to 'gdb/amd64-nat.h')
-rw-r--r--gdb/amd64-nat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/amd64-nat.h b/gdb/amd64-nat.h
index 4968b8fbffb..2466f986720 100644
--- a/gdb/amd64-nat.h
+++ b/gdb/amd64-nat.h
@@ -33,7 +33,8 @@ extern int amd64_native_gregset64_num_regs;
/* Return whether the native general-purpose register set supplies
register REGNUM. */
-extern int amd64_native_gregset_supplies_p (int regnum);
+extern int amd64_native_gregset_supplies_p (struct gdbarch *gdbarch,
+ int regnum);
/* Supply register REGNUM, whose contents are store in BUF, to
REGCACHE. If REGNUM is -1, supply all appropriate registers. */