Don't print 0x for core_addr_to_string_nz
[deliverable/binutils-gdb.git] / gdb / go-valprint.c
index de52e9b5c026011f42b1f5396602e1a1269a4797..7bb7b55c5edb9cfaa38380cf301fa20af9f99636 100644 (file)
@@ -1,6 +1,6 @@
 /* Support for printing Go values for GDB, the GNU debugger.
 
-   Copyright (C) 2012 Free Software Foundation, Inc.
+   Copyright (C) 2012-2016 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))
     {
This page took 0.03069 seconds and 4 git commands to generate.