aboutsummaryrefslogtreecommitdiff
path: root/gdb/go-typeprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/go-typeprint.c')
-rw-r--r--gdb/go-typeprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/go-typeprint.c b/gdb/go-typeprint.c
index c35a552..6e7625e 100644
--- a/gdb/go-typeprint.c
+++ b/gdb/go-typeprint.c
@@ -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