Introduce generic_value_print_complex
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)
commit4f412b6e31369f27725872391a70f0520883701c
tree5f3b475c66c12df90bda568d0059aa1262859684
parentf5354008862defe83fc6d3620d51da52f860f5bf
Introduce generic_value_print_complex

This adds generic_value_print_complex, a value-based analogue of
generic_val_print_complex.

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

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