Don't set terminal flags twice in a row
[deliverable/binutils-gdb.git] / gdb / m68k-bsd-tdep.c
index 6b7cb3cfd691ee5c0e5cb8558f8cdea711348cfe..665d33cf220dab8f019cbb8d993c6fbaae7f3ee7 100644 (file)
@@ -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;
 
This page took 0.025347 seconds and 4 git commands to generate.