2008-11-12 Tristan Gingold <gingold@adacore.com>
[binutils-gdb.git] / gdb / m68klinux-nat.c
index 7467190492ae2709ad3beb79d022719b9ef89582..149a0b66a765fe1211a17b922cc0e95cea44e9f5 100644 (file)
@@ -179,7 +179,7 @@ old_fetch_inferior_registers (struct regcache *regcache, int regno)
 static void
 store_register (const struct regcache *regcache, int regno)
 {
-  struct gdbarch *gdbarch = reg_regcache_arch (regcache);
+  struct gdbarch *gdbarch = get_regcache_arch (regcache);
   /* This isn't really an address.  But ptrace thinks of it as one.  */
   CORE_ADDR regaddr;
   char mess[128];              /* For messages */