Simplify generic_val_print_func
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)
commit4112d2e602fed7157ce6bb30f46969129633d0f2
tree057115627dd6ba7041fa391da9ccf02c9073b4ca
parent65786af6265044c67b25db23267f942c73b6fc20
Simplify generic_val_print_func

This removes the call to val_print_scalar_formatted from
generic_val_print_func, allowing generic_value_print to call the
value-based variant instead.

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

* valprint.c (generic_val_print_func): Simplify.
(generic_val_print, generic_value_print): Update.
gdb/ChangeLog
gdb/valprint.c