diff options
Diffstat (limited to 'gdb/rl78-tdep.c')
-rw-r--r-- | gdb/rl78-tdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/rl78-tdep.c b/gdb/rl78-tdep.c index 6ea0473..2462e7a 100644 --- a/gdb/rl78-tdep.c +++ b/gdb/rl78-tdep.c @@ -267,7 +267,7 @@ struct rl78_prologue static struct type * rl78_psw_type (struct gdbarch *gdbarch) { - rl78_gdbarch_tdep *tdep = (rl78_gdbarch_tdep *) gdbarch_tdep (gdbarch); + rl78_gdbarch_tdep *tdep = gdbarch_tdep<rl78_gdbarch_tdep> (gdbarch); if (tdep->rl78_psw_type == NULL) { @@ -291,7 +291,7 @@ rl78_psw_type (struct gdbarch *gdbarch) static struct type * rl78_register_type (struct gdbarch *gdbarch, int reg_nr) { - rl78_gdbarch_tdep *tdep = (rl78_gdbarch_tdep *) gdbarch_tdep (gdbarch); + rl78_gdbarch_tdep *tdep = gdbarch_tdep<rl78_gdbarch_tdep> (gdbarch); if (reg_nr == RL78_PC_REGNUM) return tdep->rl78_code_pointer; @@ -1248,7 +1248,7 @@ rl78_return_value (struct gdbarch *gdbarch, { enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); ULONGEST valtype_len = TYPE_LENGTH (valtype); - rl78_gdbarch_tdep *tdep = (rl78_gdbarch_tdep *) gdbarch_tdep (gdbarch); + rl78_gdbarch_tdep *tdep = gdbarch_tdep<rl78_gdbarch_tdep> (gdbarch); int is_g10 = tdep->elf_flags & E_FLAG_RL78_G10; if (valtype_len > 8) @@ -1394,7 +1394,7 @@ rl78_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) arches = gdbarch_list_lookup_by_info (arches->next, &info)) { rl78_gdbarch_tdep *tdep - = (rl78_gdbarch_tdep *) gdbarch_tdep (arches->gdbarch); + = gdbarch_tdep<rl78_gdbarch_tdep> (arches->gdbarch); if (tdep->elf_flags != elf_flags) continue; |