* arm-tdep.c (arm_get_next_pc): Replace current_gdbarch by gdbarch.
2007-10-30 Markus Deuling <deuling@de.ibm.com>
+ * arm-tdep.c (arm_get_next_pc): Replace current_gdbarch by gdbarch.
+
+2007-10-30 Markus Deuling <deuling@de.ibm.com>
+
* armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register)
(store_regs): Use get_regcache_arch to get at the current architecture
by regcache.
nextpc = BranchDest (pc, this_instr);
nextpc |= bit (this_instr, 24) << 1;
- nextpc = gdbarch_addr_bits_remove (current_gdbarch, nextpc);
+ nextpc = gdbarch_addr_bits_remove (gdbarch, nextpc);
if (nextpc == pc)
error (_("Infinite loop detected"));
break;