Add d_main_name to set the logical entry point for D programs.
[deliverable/binutils-gdb.git] / gdb / d-lang.h
index c2ec728514e75ec0c552fcf87467b379af2aecb1..9ede338f13c1bbe0fb6114c3980f4cab217f241e 100644 (file)
@@ -1,6 +1,6 @@
 /* D language support definitions for GDB, the GNU debugger.
 
-   Copyright (C) 2005, 2006, 2008, 2009, 2010 Free Software Foundation, Inc.
+   Copyright (C) 2005-2014 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
 
 #include "symtab.h"
 
+/* Defined in d-lang.c  */
+
+extern const char *d_main_name (void);
+
 extern char *d_demangle (const char *mangled, int options);
 
-extern int d_val_print (struct type *type, const gdb_byte *valaddr,
-                       int embedded_offset, CORE_ADDR address,
-                       struct ui_file *stream, int recurse,
-                       const struct value *val,
-                       const struct value_print_options *options);
+extern void d_val_print (struct type *type, const gdb_byte *valaddr,
+                        int embedded_offset, CORE_ADDR address,
+                        struct ui_file *stream, int recurse,
+                        const struct value *val,
+                        const struct value_print_options *options);
 
 #endif /* !defined (D_LANG_H) */
This page took 0.025169 seconds and 4 git commands to generate.