gdb: Fix scrolling in TUI
[deliverable/binutils-gdb.git] / gdb / d-lang.c
index 7fb6c52748e8264257f92c5b5126dd2785e73bf2..7ed5ad4a9ee72b72cfab9f9efbbfe0e9f5b56e9d 100644 (file)
@@ -1,6 +1,6 @@
 /* D language support routines for GDB, the GNU debugger.
 
-   Copyright (C) 2005-2019 Free Software Foundation, Inc.
+   Copyright (C) 2005-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "c-lang.h"
-#include "cp-support.h"
-#include "d-lang.h"
-#include "demangle.h"
-#include "language.h"
 #include "symtab.h"
+#include "language.h"
 #include "varobj.h"
+#include "d-lang.h"
+#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";
@@ -245,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,
@@ -253,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.025172 seconds and 4 git commands to generate.