Hi, this patch removes the last occurence of current_gdbarch in ppc-linux-nat.c Tested on PowerPC without regression. Ok to commit ? ChangeLog: * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter. Replace current_gdbarch by gdbarch. Update caller. -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com