OSDN Git Service

* rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter
authorMarkus Deuling <deuling@de.ibm.com>
Mon, 18 Feb 2008 11:00:02 +0000 (11:00 +0000)
committerMarkus Deuling <deuling@de.ibm.com>
Mon, 18 Feb 2008 11:00:02 +0000 (11:00 +0000)
commit847a77a4de8124a280a1403bf556ff52f88ed581
treea59d3aa8edcf463f2164544a8a784095e1ad9c36
parent0609a9c769e869c44b2dd495fd769302fdb66368
* rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter
and replace current_gdbarch by gdbarch.

(store_register): Update call for exec_one_dummy_insn.
(fetch_register, store_register): Update call of regmap.

* ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as
parameter and replace current_gdbarch by gdbarch.

(ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at
the current architecture. Update call for getregs_supplies and
getfpregs_supplies.
(ppcnbsd_fetch_inferior_registers): Likewise.

* ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and
replace current_gdbarch by gdbarch.
(ppcobsd_fetch_registers, ppcobsd_store_registers): Use
get_regcache_arch to get at the current architecture. Update call for
getfpregs_supplies.
gdb/ChangeLog
gdb/ppcnbsd-nat.c
gdb/ppcobsd-nat.c
gdb/rs6000-nat.c