Introduce c_value_print_ptr
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)
commitda3e2c2923b5c16c47c962bc53ea96678ca6a0e5
tree70a84988bce62d05c16d8877e4ba499f4cadeec2
parent5083623134c2ac383a8d8412b6d3c530452fda51
Introduce c_value_print_ptr

This adds c_value_print_ptr, a value-based analogue of
c_val_print_ptr.

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

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