mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 03:24:41 +08:00
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* alphabsd-nat.c (alphabsd_fetch_inferior_registers) (alphabsd_store_inferior_registers): Use get_regcache_arch to get at the current architecture by regcache.
This commit is contained in:
parent
d4a9a8813d
commit
600d293e5f
@ -1,3 +1,9 @@
|
||||
2007-10-30 Markus Deuling <deuling@de.ibm.com>
|
||||
|
||||
* alphabsd-nat.c (alphabsd_fetch_inferior_registers)
|
||||
(alphabsd_store_inferior_registers): Use get_regcache_arch to get at
|
||||
the current architecture by regcache.
|
||||
|
||||
2007-10-30 Markus Deuling <deuling@de.ibm.com>
|
||||
|
||||
* ada-lang.c (ada_language_arch_info): Replace current_gdbarch by
|
||||
|
@ -99,7 +99,7 @@ alphabsd_fetch_inferior_registers (struct regcache *regcache, int regno)
|
||||
return;
|
||||
}
|
||||
|
||||
if (regno == -1 || regno >= gdbarch_fp0_regnum (current_gdbarch))
|
||||
if (regno == -1 || regno >= gdbarch_fp0_regnum (get_regcache_arch (regcache)))
|
||||
{
|
||||
struct fpreg fpregs;
|
||||
|
||||
@ -134,7 +134,7 @@ alphabsd_store_inferior_registers (struct regcache *regcache, int regno)
|
||||
return;
|
||||
}
|
||||
|
||||
if (regno == -1 || regno >= gdbarch_fp0_regnum (current_gdbarch))
|
||||
if (regno == -1 || regno >= gdbarch_fp0_regnum (get_regcache_arch (regcache)))
|
||||
{
|
||||
struct fpreg fpregs;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user