This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Replace some current_gdbarchs in *ppc*
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: deuling at de dot ibm dot com (Markus Deuling)
- Cc: gdb-patches at sourceware dot org (GDB Patches)
- Date: Fri, 15 Feb 2008 19:39:25 +0100 (CET)
- Subject: Re: [rfc] Replace some current_gdbarchs in *ppc*
Markus Deuling wrote:
> * 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.
This is OK, thanks.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com