Introduce generic_value_print_int
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)
commitfdddfccba1cc4f70089873441b7e6c38de09ae37
treea4a288e6f8a36917af5533ab1c652bfd3f6d12b7
parent6dde752183769c712eb22f49a5b74bfadad4a6be
Introduce generic_value_print_int

This adds generic_value_print_int, a value-based analogue of
generic_val_print_int.

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

* valprint.c (generic_value_print_int): New function.
(generic_value_print): Use it.
gdb/ChangeLog
gdb/valprint.c