OSDN Git Service

* alpha-tdep.c (alpha_register_type): Use builtin_type (gdbarch)
[pf3gnuchains/pf3gnuchains3x.git] / gdb / vax-tdep.c
index 618befa..09b4bc7 100644 (file)
@@ -61,7 +61,7 @@ vax_register_name (struct gdbarch *gdbarch, int regnum)
 static struct type *
 vax_register_type (struct gdbarch *gdbarch, int regnum)
 {
-  return builtin_type_int;
+  return builtin_type (gdbarch)->builtin_int;
 }
 \f
 /* Core file support.  */