xtensa: implement NPTL helpers
[binutils-gdb.git] / gdb / go-valprint.c
index edef92c7b1eab39e0235e7ac57af73b6d5866663..a40d6f2da1305346228e5a3e9d263c1b302f220a 100644 (file)
@@ -1,6 +1,6 @@
 /* Support for printing Go values for GDB, the GNU debugger.
 
-   Copyright (C) 2012-2013 Free Software Foundation, Inc.
+   Copyright (C) 2012-2015 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -91,7 +91,7 @@ go_val_print (struct type *type, const gdb_byte *valaddr, int embedded_offset,
              const struct value *val,
              const struct value_print_options *options)
 {
-  CHECK_TYPEDEF (type);
+  type = check_typedef (type);
 
   switch (TYPE_CODE (type))
     {