X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fd-lang.h;h=74be7a5f61f09162192b15ff88292be014b9d378;hb=038d48680941f014349256aeb7bab14b3f01d58e;hp=a1b4456d35b972da3cf25557fd8e3245b56def33;hpb=ec9f644ac9d154de4dde490bb1174be09c8fc540;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/d-lang.h b/gdb/d-lang.h index a1b4456d35..74be7a5f61 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-2014 Free Software Foundation, Inc. + Copyright (C) 2005-2016 Free Software Foundation, Inc. This file is part of GDB. @@ -54,6 +54,12 @@ struct builtin_d_type struct type *builtin_dchar; }; +/* Defined in d-exp.y. */ + +extern int d_parse (struct parser_state *); + +extern void d_yyerror (char *); + /* Defined in d-lang.c */ extern const char *d_main_name (void); @@ -62,7 +68,15 @@ extern char *d_demangle (const char *mangled, int options); extern const struct builtin_d_type *builtin_d_type (struct gdbarch *); -extern const char *d_parse_symbol (struct obstack *, const char *); +/* 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 */