X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fgo-typeprint.c;h=ee7a2c234da478991ebb2a7ed216a0c7dee40e88;hb=b61121178ec07f9da1242e439fe1a23a314ad30e;hp=c35a552a733ebd69b4316e51a9e304fb158f2a81;hpb=32d0add0a654c1204ab71dc8a55d9374538c4b33;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/go-typeprint.c b/gdb/go-typeprint.c index c35a552a73..ee7a2c234d 100644 --- a/gdb/go-typeprint.c +++ b/gdb/go-typeprint.c @@ -1,6 +1,6 @@ /* Support for printing Go types for GDB, the GNU debugger. - Copyright (C) 2012-2015 Free Software Foundation, Inc. + Copyright (C) 2012-2019 Free Software Foundation, Inc. This file is part of GDB. @@ -48,7 +48,7 @@ go_print_type (struct type *type, const char *varstring, { /* Borrowed from c-typeprint.c. */ if (show > 0) - CHECK_TYPEDEF (type); + type = check_typedef (type); /* Print the type of "abc" as "string", not char[4]. */ if (TYPE_CODE (type) == TYPE_CODE_ARRAY