Don't update target_dcache if it is not initialized
[deliverable/binutils-gdb.git] / gdb / d-lang.c
index 15f56dfaf0c6f4a695f025ebee0d46c529f2f9d3..35d92eacf6b06834b4ba0cf1d88a76cf3478b2c0 100644 (file)
 #include "defs.h"
 #include "symtab.h"
 #include "language.h"
+#include "varobj.h"
 #include "d-lang.h"
 #include "c-lang.h"
-#include "gdb_string.h"
+#include <string.h>
 #include "parser-defs.h"
 #include "gdb_obstack.h"
 
@@ -238,6 +239,7 @@ static const struct op_print d_op_print_tab[] =
 static const struct language_defn d_language_defn =
 {
   "d",
+  "D",
   language_d,
   range_check_off,
   case_sensitive_on,
@@ -274,6 +276,7 @@ static const struct language_defn d_language_defn =
   c_get_string,
   NULL,                                /* la_get_symbol_name_cmp */
   iterate_over_symbols,
+  &default_varobj_ops,
   LANG_MAGIC
 };
 
This page took 0.026036 seconds and 4 git commands to generate.