Introduce generic_value_print_bool
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)
commit6dde752183769c712eb22f49a5b74bfadad4a6be
tree1ce1dc7e029e3a5fa3bf654ef552686037942084
parent4112d2e602fed7157ce6bb30f46969129633d0f2
Introduce generic_value_print_bool

This adds generic_value_print_bool, a value-based analogue of
generic_val_print_bool.

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

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