Index: gdb/d-lang.c |
diff --git a/gdb/d-lang.c b/gdb/d-lang.c |
index da2785c90c34b389fd732c76bbbffacc277334de..121040a66028b1fa7f8b6ced50db95ec465d7af1 100644 |
--- a/gdb/d-lang.c |
+++ b/gdb/d-lang.c |
@@ -256,6 +256,7 @@ static const struct language_defn d_language_defn = |
syntax. */ |
d_val_print, /* Print a value using appropriate syntax. */ |
c_value_print, /* Print a top-level value. */ |
+ default_read_var_value, /* la_read_var_value */ |
NULL, /* Language specific skip_trampoline. */ |
"this", |
basic_lookup_symbol_nonlocal, |
@@ -272,11 +273,14 @@ static const struct language_defn d_language_defn = |
default_print_array_index, |
default_pass_by_reference, |
c_get_string, |
- strcmp_iw_ordered, |
- NULL, |
+ NULL, /* la_get_symbol_name_cmp */ |
+ iterate_over_symbols, |
LANG_MAGIC |
}; |
+/* Provide a prototype to silence -Wmissing-prototypes. */ |
+extern initialize_file_ftype _initialize_d_language; |
+ |
void |
_initialize_d_language (void) |
{ |