Imported Upstream version 7.9
[platform/upstream/gdb.git] / gdb / go-typeprint.c
index a76c3dc..c35a552 100644 (file)
@@ -1,6 +1,6 @@
 /* Support for printing Go types for GDB, the GNU debugger.
 
-   Copyright (C) 2012 Free Software Foundation, Inc.
+   Copyright (C) 2012-2015 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -43,7 +43,8 @@
 
 void
 go_print_type (struct type *type, const char *varstring,
-              struct ui_file *stream, int show, int level)
+              struct ui_file *stream, int show, int level,
+              const struct type_print_options *flags)
 {
   /* Borrowed from c-typeprint.c.  */
   if (show > 0)
@@ -58,5 +59,5 @@ go_print_type (struct type *type, const char *varstring,
     }
 
   /* Punt the rest to C for now.  */
-  c_print_type (type, varstring, stream, show, level);
+  c_print_type (type, varstring, stream, show, level, flags);
 }