gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gdb / go-lang.h
index bdb6dee45f33af600b61c5bd4d95cf412f219d41..1f0790719950fd39b340314f31c706c45c5051f5 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.
 
@@ -26,6 +26,8 @@ struct type_print_options;
 #include "symtab.h"
 #include "value.h"
 
+struct parser_state;
+
 struct builtin_go_type
 {
   struct type *builtin_void;
@@ -56,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.  */
 
@@ -80,12 +80,10 @@ extern void go_print_type (struct type *type, const char *varstring,
                           struct ui_file *stream, int show, int level,
                           const struct type_print_options *flags);
 
-/* Defined in go-valprint.c.  */
+/* Implement la_value_print_inner for Go.  */
 
-extern void go_val_print (struct type *type, const gdb_byte *valaddr,
-                         int embedded_offset, CORE_ADDR address,
-                         struct ui_file *stream, int recurse,
-                         const struct value *val,
-                         const struct value_print_options *options);
+extern void go_value_print_inner (struct value *value,
+                                 struct ui_file *stream, int recurse,
+                                 const struct value_print_options *options);
 
 #endif /* !defined (GO_LANG_H) */
This page took 0.033627 seconds and 4 git commands to generate.