Suppress ARI warnings for vsprintf
[deliverable/binutils-gdb.git] / gdb / d-lang.c
index 637e012b32e76c6213e519849fcaa27f673d692a..1701976da7888366b0f41742e46e4a9f89e6cd00 100644 (file)
@@ -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";
@@ -243,7 +244,6 @@ extern const struct language_defn d_language_defn =
   d_language_arch_info,
   default_print_array_index,
   default_pass_by_reference,
-  c_get_string,
   c_watch_location_expression,
   NULL,                                /* la_get_symbol_name_matcher */
   iterate_over_symbols,
@@ -251,7 +251,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.  */
This page took 0.025042 seconds and 4 git commands to generate.