* core-regset.c (fetch_core_registers): Use get_regcache_arch to get at
the current architecture by regcache.
+2007-10-30 Markus Deuling <deuling@de.ibm.com>
+
+ * core-regset.c (fetch_core_registers): Use get_regcache_arch to get at
+ the current architecture by regcache.
+
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* corelow.c (get_core_registers): Use get_regcache_arch to get at the
else
{
memcpy (&fpregset, core_reg_sect, sizeof (fpregset));
- if (gdbarch_fp0_regnum (current_gdbarch) >= 0)
+ if (gdbarch_fp0_regnum (get_regcache_arch (regcache)) >= 0)
supply_fpregset (regcache, (const gdb_fpregset_t *) fpregset_p);
}
break;