* amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
authorMarkus Deuling <deuling@de.ibm.com>
Wed, 16 Jan 2008 04:52:52 +0000 (04:52 +0000)
committerMarkus Deuling <deuling@de.ibm.com>
Wed, 16 Jan 2008 04:52:52 +0000 (04:52 +0000)
commitf8028488ab18db040894f2e616282d8bbb4aed1f
treec1686880a996763aad420bc84ac08393130bb929
parente101270fb8a46d43f3ba424cbc393f74b06b3b26
* 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.
gdb/ChangeLog
gdb/amd64-linux-nat.c
gdb/amd64-nat.c
gdb/amd64-nat.h
gdb/amd64bsd-nat.c