Introduce c_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)
commit2faac269d59e57a49cd9f9209e1d39e03e2744bc
tree07bb994909b8fc49f9957a04d944a50deb3d967f
parentda3e2c2923b5c16c47c962bc53ea96678ca6a0e5
Introduce c_value_print_int

This adds c_value_print_int, a value-based analogue of
c_val_print_int.

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

* c-valprint.c (c_value_print_int): New function.
(c_value_print_inner): Use it.
gdb/ChangeLog
gdb/c-valprint.c