]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/alpha-tdep.c
* alpha-tdep.c (alpha_register_type): Use builtin_type (gdbarch)
[thirdparty/binutils-gdb.git] / gdb / alpha-tdep.c
index fe8671f3a5c7497f9b8b0aaa4b8edda1698b0f49..27137d90382b3e9212562b11b5ed147a9ee6bc35 100644 (file)
@@ -95,9 +95,9 @@ static struct type *
 alpha_register_type (struct gdbarch *gdbarch, int regno)
 {
   if (regno == ALPHA_SP_REGNUM || regno == ALPHA_GP_REGNUM)
-    return builtin_type_void_data_ptr;
+    return builtin_type (gdbarch)->builtin_data_ptr;
   if (regno == ALPHA_PC_REGNUM)
-    return builtin_type_void_func_ptr;
+    return builtin_type (gdbarch)->builtin_func_ptr;
 
   /* Don't need to worry about little vs big endian until 
      some jerk tries to port to alpha-unicosmk.  */