diff options
Diffstat (limited to 'gdb/core-regset.c')
-rw-r--r-- | gdb/core-regset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/core-regset.c b/gdb/core-regset.c index 9d2b914..77ae85b 100644 --- a/gdb/core-regset.c +++ b/gdb/core-regset.c @@ -84,7 +84,7 @@ fetch_core_registers (struct regcache *regcache, else { memcpy (&fpregset, core_reg_sect, sizeof (fpregset)); - if (gdbarch_fp0_regnum (get_regcache_arch (regcache)) >= 0) + if (gdbarch_fp0_regnum (regcache->arch ()) >= 0) supply_fpregset (regcache, (const gdb_fpregset_t *) fpregset_p); } |