Introduce cp_print_value
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:41 +0000 (18:03 -0600)
commitfbf54e7554e0dcd60e18b1821c5c127fb3eb48ff
treec679640d934e2ceeddd09b28200a98ffb5024cb4
parent64b653ca7058bfd4f91879dea628809d398b488e
Introduce cp_print_value

This adds cp_print_value, a value-based analogue of cp_print_val, and
changes cp_print_value_fields to use it.

gdb/ChangeLog
2020-03-13  Tom Tromey  <tom@tromey.com>

* cp-valprint.c (cp_print_value_fields): Update.
(cp_print_value): New function.
gdb/ChangeLog
gdb/cp-valprint.c