This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]