diff options
Diffstat (limited to 'gdb/go-valprint.c')
-rw-r--r-- | gdb/go-valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/go-valprint.c b/gdb/go-valprint.c index 5ded53e..4d3185e 100644 --- a/gdb/go-valprint.c +++ b/gdb/go-valprint.c @@ -91,7 +91,7 @@ go_language::value_print_inner (struct value *val, struct ui_file *stream, int recurse, const struct value_print_options *options) const { - struct type *type = check_typedef (value_type (val)); + struct type *type = check_typedef (val->type ()); switch (type->code ()) { |