X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=gdb%2Fgo-lang.h;h=1f0790719950fd39b340314f31c706c45c5051f5;hb=5233f39b8b999f2675fb9493149e878c281e1d60;hp=1fe12fa5c94f1e0a365bb4b938812176be977cd4;hpb=410a0ff2df3fa8d260c1c6d76172c65285968cea;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/go-lang.h b/gdb/go-lang.h index 1fe12fa5c9..1f07907199 100644 --- a/gdb/go-lang.h +++ b/gdb/go-lang.h @@ -1,6 +1,6 @@ /* Go language support definitions for GDB, the GNU debugger. - Copyright (C) 2012-2014 Free Software Foundation, Inc. + Copyright (C) 2012-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -60,8 +60,6 @@ enum go_type extern int go_parse (struct parser_state *); -extern void go_error (char *); - /* Defined in go-lang.c. */ extern const char *go_main_name (void); @@ -82,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) */