This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[rfc] [04/20] Get rid of current_gdbarch in arm-linux-nat.c
- From: Markus Deuling <deuling at de dot ibm dot com>
- To: GDB Patches <gdb-patches at sourceware dot org>
- Cc: Ulrich Weigand <uweigand at de dot ibm dot com>
- Date: Tue, 30 Oct 2007 10:54:11 +0100
- Subject: [rfc] [04/20] Get rid of current_gdbarch in arm-linux-nat.c
Hi,
this patch gets rid of some of the current_gdbarch's in arm-linux-nat.c
Is this ok to commit?
ChangeLog:
* arm-linux-nat.c (fetch_register, fetch_regs): Use get_regcache_arch
to get at the current architecture by regcache.
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
* arm-linux-nat.c (fetch_register, fetch_regs): Use get_regcache_arch
to get at the current architecture by regcache.