mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-01 20:12:01 +08:00
Convert D printing to value-based API
As with Rust and Go, it was straightforward to convert D to the value-based API directly. gdb/ChangeLog 2020-03-13 Tom Tromey <tom@tromey.com> * d-valprint.c (dynamic_array_type): Call d_value_print_inner. (d_value_print_inner): New function. * d-lang.h (d_value_print_inner): Declare. * d-lang.c (d_language_defn): Use d_value_print_inner.
This commit is contained in:
@ -225,7 +225,7 @@ extern const struct language_defn d_language_defn =
|
||||
c_print_typedef, /* Print a typedef using appropriate
|
||||
syntax. */
|
||||
d_val_print, /* Print a value using appropriate syntax. */
|
||||
nullptr, /* la_value_print_inner */
|
||||
d_value_print_inner, /* la_value_print_inner */
|
||||
c_value_print, /* Print a top-level value. */
|
||||
default_read_var_value, /* la_read_var_value */
|
||||
NULL, /* Language specific skip_trampoline. */
|
||||
|
Reference in New Issue
Block a user