* gdbarch.sh (register_type): Update comment.
[deliverable/binutils-gdb.git] / gdb / ia64-tdep.c
index 43da69dcba533053f2b6b844a584a68d80ce63c9..dfcc024acd88949241dbd7094ca8f634df344347 100644 (file)
@@ -3034,7 +3034,8 @@ ia64_extract_return_value (struct type *type, struct regcache *regcache,
       ULONGEST val;
       int offset = 0;
       int regnum = IA64_GR8_REGNUM;
-      int reglen = TYPE_LENGTH (ia64_register_type (NULL, IA64_GR8_REGNUM));
+      int reglen = TYPE_LENGTH (register_type (get_regcache_arch (regcache),
+                                              IA64_GR8_REGNUM));
       int n = TYPE_LENGTH (type) / reglen;
       int m = TYPE_LENGTH (type) % reglen;
 
This page took 0.025519 seconds and 4 git commands to generate.