X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fgo-typeprint.c;h=358508ea97052fe8f2b85ea97c90da9643965fa8;hb=c113e7ff6176890ef6d73a23f0918aca98b8619f;hp=5fe8dd4885fa87747c952a7fc2b4e1a1aac1f277;hpb=ecd75fc8eed3bde86036141228074a20e55dcfc9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/go-typeprint.c b/gdb/go-typeprint.c index 5fe8dd4885..358508ea97 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-2014 Free Software Foundation, Inc. + Copyright (C) 2012-2016 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