aboutsummaryrefslogtreecommitdiff
path: root/gdb/d10v-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-08-07 19:25:58 +0000
committerAndrew Cagney <cagney@redhat.com>2004-08-07 19:25:58 +0000
commit7ad6570da5242fbe15716986032ca353d6f59f96 (patch)
tree2251db4d96ac38ea5040efbab0ff6b008f638e31 /gdb/d10v-tdep.c
parent47b3f4563210364f3077fd82831811202c0fab9d (diff)
downloadgdb-7ad6570da5242fbe15716986032ca353d6f59f96.zip
gdb-7ad6570da5242fbe15716986032ca353d6f59f96.tar.gz
gdb-7ad6570da5242fbe15716986032ca353d6f59f96.tar.bz2
2004-08-07 Andrew Cagney <cagney@gnu.org>
* gdbtypes.h (struct builtin_type): Delete builtin_int0 through to builtin_uint128. * gdbtypes.c (gdbtypes_post_init): Update. (build_gdbtypes): Move initialization of builtin_type_int0 through to builtin_type_uint128 from here ... (_initialize_gdbtypes): ... to here. * d10v-tdep.c (d10v_register_type): Update.
Diffstat (limited to 'gdb/d10v-tdep.c')
-rw-r--r--gdb/d10v-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c
index 274f5db..ea44721 100644
--- a/gdb/d10v-tdep.c
+++ b/gdb/d10v-tdep.c
@@ -287,9 +287,9 @@ d10v_register_type (struct gdbarch *gdbarch, int reg_nr)
return builtin_type (gdbarch)->builtin_data_ptr;
else if (reg_nr >= a0_regnum (gdbarch)
&& reg_nr < (a0_regnum (gdbarch) + NR_A_REGS))
- return builtin_type (gdbarch)->builtin_int64;
+ return builtin_type_int64;
else
- return builtin_type (gdbarch)->builtin_int16;
+ return builtin_type_int16;
}
static int