diff options
Diffstat (limited to 'gdb/m68k-bsd-tdep.c')
-rw-r--r-- | gdb/m68k-bsd-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m68k-bsd-tdep.c b/gdb/m68k-bsd-tdep.c index 6b7cb3c..665d33c 100644 --- a/gdb/m68k-bsd-tdep.c +++ b/gdb/m68k-bsd-tdep.c @@ -58,7 +58,7 @@ m68kbsd_supply_fpregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *fpregs, size_t len) { - struct gdbarch *gdbarch = get_regcache_arch (regcache); + struct gdbarch *gdbarch = regcache->arch (); const gdb_byte *regs = (const gdb_byte *) fpregs; int i; |