]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/d-lang.h
Automatic Copyright Year update after running gdb/copyright.py
[thirdparty/binutils-gdb.git] / gdb / d-lang.h
index 74be7a5f61f09162192b15ff88292be014b9d378..56e418d725548c3ff78136d749d3680e116e6fa3 100644 (file)
@@ -1,6 +1,6 @@
 /* D language support definitions for GDB, the GNU debugger.
 
-   Copyright (C) 2005-2016 Free Software Foundation, Inc.
+   Copyright (C) 2005-2022 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -58,13 +58,12 @@ struct builtin_d_type
 
 extern int d_parse (struct parser_state *);
 
-extern void d_yyerror (char *);
-
 /* Defined in d-lang.c  */
 
 extern const char *d_main_name (void);
 
-extern char *d_demangle (const char *mangled, int options);
+extern gdb::unique_xmalloc_ptr<char> d_demangle (const char *mangled,
+                                                int options);
 
 extern const struct builtin_d_type *builtin_d_type (struct gdbarch *);
 
@@ -78,12 +77,10 @@ extern struct block_symbol d_lookup_symbol_nonlocal (const struct language_defn
 extern struct block_symbol d_lookup_nested_symbol (struct type *, const char *,
                                                   const struct block *);
 
-/* Defined in d-valprint.c  */
+/* Implement la_value_print_inner for D.  */
 
-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);
+extern void d_value_print_inner (struct value *val,
+                                struct ui_file *stream, int recurse,
+                                const struct value_print_options *options);
 
 #endif /* !defined (D_LANG_H) */