Preserve selected thread in all-stop w/ background execution
[deliverable/binutils-gdb.git] / gdb / go-lang.h
index 67b5d93eff07c7b4541e33613580f594acd42955..ccfcb8d8cafeb797c7779cd78cdda14011e53276 100644 (file)
@@ -1,6 +1,6 @@
 /* Go language support definitions for GDB, the GNU debugger.
 
-   Copyright (C) 2012 Free Software Foundation, Inc.
+   Copyright (C) 2012-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
 #if !defined (GO_LANG_H)
 #define GO_LANG_H 1
 
+struct type_print_options;
+
 #include "gdbtypes.h"
 #include "symtab.h"
 #include "value.h"
 
+struct parser_state;
+
 struct builtin_go_type
 {
   struct type *builtin_void;
@@ -54,9 +58,7 @@ enum go_type
 
 /* Defined in go-exp.y.  */
 
-extern int go_parse (void);
-
-extern void go_error (char *);
+extern int go_parse (struct parser_state *);
 
 /* Defined in go-lang.c.  */
 
@@ -75,14 +77,15 @@ extern const struct builtin_go_type *builtin_go_type (struct gdbarch *);
 /* Defined in go-typeprint.c.  */
 
 extern 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);
 
 /* Defined in go-valprint.c.  */
 
-extern void go_val_print (struct type *type, const gdb_byte *valaddr,
+extern void go_val_print (struct type *type,
                          int embedded_offset, CORE_ADDR address,
                          struct ui_file *stream, int recurse,
-                         const struct value *val,
+                         struct value *val,
                          const struct value_print_options *options);
 
 #endif /* !defined (GO_LANG_H) */
This page took 0.032419 seconds and 4 git commands to generate.