]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/sh64-tdep.c
s/get_regcache_arch (regcache)/regcache->arch ()/g
[thirdparty/binutils-gdb.git] / gdb / sh64-tdep.c
index ac216232b8fbd28f7cdac46da1bccb527142dae7..e7fb7f377bc2908a39a3a903356a01e181d376cf 100644 (file)
@@ -1241,7 +1241,7 @@ static void
 sh64_extract_return_value (struct type *type, struct regcache *regcache,
                           gdb_byte *valbuf)
 {
-  struct gdbarch *gdbarch = get_regcache_arch (regcache);
+  struct gdbarch *gdbarch = regcache->arch ();
   int len = TYPE_LENGTH (type);
 
   if (TYPE_CODE (type) == TYPE_CODE_FLT)
@@ -1295,7 +1295,7 @@ static void
 sh64_store_return_value (struct type *type, struct regcache *regcache,
                         const gdb_byte *valbuf)
 {
-  struct gdbarch *gdbarch = get_regcache_arch (regcache);
+  struct gdbarch *gdbarch = regcache->arch ();
   gdb_byte buf[64];    /* more than enough...  */
   int len = TYPE_LENGTH (type);