X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fd-lang.h;h=f47050aa30128b0db9fa2b41c1f01f9b2a07a64b;hb=f65e204425b5b46a5927d9501c42f25d98a866ce;hp=4962a8a066e874a944d82b2edc1dd2490ff0baea;hpb=32d0add0a654c1204ab71dc8a55d9374538c4b33;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/d-lang.h b/gdb/d-lang.h index 4962a8a066..f47050aa30 100644 --- a/gdb/d-lang.h +++ b/gdb/d-lang.h @@ -1,6 +1,6 @@ /* D language support definitions for GDB, the GNU debugger. - Copyright (C) 2005-2015 Free Software Foundation, Inc. + Copyright (C) 2005-2017 Free Software Foundation, Inc. This file is part of GDB. @@ -58,7 +58,7 @@ struct builtin_d_type extern int d_parse (struct parser_state *); -extern void d_error (char *); +extern void d_yyerror (const char *); /* Defined in d-lang.c */ @@ -68,12 +68,22 @@ extern char *d_demangle (const char *mangled, int options); extern const struct builtin_d_type *builtin_d_type (struct gdbarch *); +/* Defined in d-namespace.c */ + +extern struct block_symbol d_lookup_symbol_nonlocal (const struct language_defn *, + const char *, + const struct block *, + const domain_enum); + +extern struct block_symbol d_lookup_nested_symbol (struct type *, const char *, + const struct block *); + /* Defined in d-valprint.c */ -extern void d_val_print (struct type *type, const gdb_byte *valaddr, +extern void d_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 (D_LANG_H) */