X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fd-lang.c;h=b80b374d6f1e3cde66015bb058309331ae141599;hb=8e3cfd09e813fc1a2738b0d4d19d15358e438ace;hp=688ae981bb1bbdc2afe3788cac28bcbedcf8a176;hpb=59cc4834e53565da1de4a7b615ed8890ed55c7da;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/d-lang.c b/gdb/d-lang.c index 688ae981bb..b80b374d6f 100644 --- a/gdb/d-lang.c +++ b/gdb/d-lang.c @@ -1,6 +1,6 @@ /* D language support routines for GDB, the GNU debugger. - Copyright (C) 2005-2018 Free Software Foundation, Inc. + Copyright (C) 2005-2019 Free Software Foundation, Inc. This file is part of GDB. @@ -25,6 +25,7 @@ #include "c-lang.h" #include "demangle.h" #include "cp-support.h" +#include "gdbarch.h" /* The name of the symbol to use to get the name of the main subprogram. */ static const char D_MAIN[] = "D main"; @@ -216,7 +217,6 @@ extern const struct language_defn d_language_defn = d_extensions, &exp_descriptor_c, d_parse, - d_yyerror, null_post_parser, c_printchar, /* Print a character constant. */ c_printstr, /* Function to print string constant. */ @@ -252,7 +252,8 @@ extern const struct language_defn d_language_defn = &default_varobj_ops, NULL, NULL, - LANG_MAGIC + c_is_string_type_p, + "{...}" /* la_struct_too_deep_ellipsis */ }; /* Build all D language types for the specified architecture. */