Introduce value_print_scalar_formatted
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)
commit4f9ae810130bc4202ec1c5eae934900c542a9016
tree902dd418b78f104a7bcdc7b4357b4a443bd522f9
parent156bfec999186e3eccaf51fa3b81280bf51dbaa4
Introduce value_print_scalar_formatted

This introduces a value_print_scalar_formatted, which is an analogue
of val_print_scalar_formatted that uses the value API.

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

* valprint.h (value_print_scalar_formatted): Declare.
* valprint.c (value_print_scalar_formatted): New function.
gdb/ChangeLog
gdb/valprint.c
gdb/valprint.h