diff options
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r-- | gdb/printcmd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 59bb656..e0fb9fc 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -781,13 +781,13 @@ do_examine (struct format_data fmt, struct gdbarch *gdbarch, CORE_ADDR addr) } if (size == 'b') - val_type = builtin_type_int8; + val_type = builtin_type (next_gdbarch)->builtin_int8; else if (size == 'h') - val_type = builtin_type_int16; + val_type = builtin_type (next_gdbarch)->builtin_int16; else if (size == 'w') - val_type = builtin_type_int32; + val_type = builtin_type (next_gdbarch)->builtin_int32; else if (size == 'g') - val_type = builtin_type_int64; + val_type = builtin_type (next_gdbarch)->builtin_int64; maxelts = 8; if (size == 'w') |