Simplify generic_val_print_float
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)
commitf5354008862defe83fc6d3620d51da52f860f5bf
treeaa7bbf0f4bffd16149283adeed1d3c33ff3726e3
parent3eec3b05b9ecf5e726c606f0bba916e095dcbe98
Simplify generic_val_print_float

This changes generic_val_print_float not to call
val_print_scalar_formatted.  This lets generic_value_print then use
value_print_scalar_formatted instead.

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

* valprint.c (generic_val_print_float): Don't call
val_print_scalar_formatted.
(generic_val_print, generic_value_print): Update.
gdb/ChangeLog
gdb/valprint.c