aboutsummaryrefslogtreecommitdiff
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
commitf8028488ab18db040894f2e616282d8bbb4aed1f (patch)
treec1686880a996763aad420bc84ac08393130bb929 /gdb/amd64-nat.h
parente101270fb8a46d43f3ba424cbc393f74b06b3b26 (diff)
downloadgdb-f8028488ab18db040894f2e616282d8bbb4aed1f.zip
gdb-f8028488ab18db040894f2e616282d8bbb4aed1f.tar.gz
gdb-f8028488ab18db040894f2e616282d8bbb4aed1f.tar.bz2
* 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 4968b8f..2466f98 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. */