diff options
Diffstat (limited to 'gdb/h8300-tdep.c')
-rw-r--r-- | gdb/h8300-tdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c index 9d679ac..f12cb1b 100644 --- a/gdb/h8300-tdep.c +++ b/gdb/h8300-tdep.c @@ -1119,13 +1119,13 @@ h8300_register_type (struct gdbarch *gdbarch, int regno) return builtin_type (gdbarch)->builtin_data_ptr; default: if (regno == E_PSEUDO_CCR_REGNUM (gdbarch)) - return builtin_type_uint8; + return builtin_type (gdbarch)->builtin_uint8; else if (regno == E_PSEUDO_EXR_REGNUM (gdbarch)) - return builtin_type_uint8; + return builtin_type (gdbarch)->builtin_uint8; else if (is_h8300hmode (gdbarch)) - return builtin_type_int32; + return builtin_type (gdbarch)->builtin_int32; else - return builtin_type_int16; + return builtin_type (gdbarch)->builtin_int16; } } } |