From 8ee511afd84972c2019518725295440b3d2676bc Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 28 Jan 2021 10:12:10 -0500 Subject: gdb: rename get_type_arch to type::arch ... and update all users. gdb/ChangeLog: * gdbtypes.h (get_type_arch): Rename to... (struct type) : ... this, update all users. Change-Id: I0e3ef938a0afe798ac0da74a9976bbd1d082fc6f --- gdb/f-valprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/f-valprint.c') diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c index 066827f..240daaf 100644 --- a/gdb/f-valprint.c +++ b/gdb/f-valprint.c @@ -218,7 +218,7 @@ f_language::value_print_inner (struct value *val, struct ui_file *stream, const struct value_print_options *options) const { struct type *type = check_typedef (value_type (val)); - struct gdbarch *gdbarch = get_type_arch (type); + struct gdbarch *gdbarch = type->arch (); int printed_field = 0; /* Number of fields printed. */ struct type *elttype; CORE_ADDR addr; -- cgit v1.1