Convert D printing to value-based API
authorTom Tromey <tom@tromey.com>
Fri, 13 Mar 2020 23:39:52 +0000 (17:39 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 14 Mar 2020 00:03:40 +0000 (18:03 -0600)
commitd133c3e1a877259bbee460897d9a6a2820ffe451
tree6d0b51c75ff0f04eb258400b4bc6438067094172
parent23b0f06be43054a9b182e7ea60a763c35302924a
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.
gdb/ChangeLog
gdb/d-lang.c
gdb/d-lang.h
gdb/d-valprint.c