Introduce generic_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)
commit2a5b130bcb6f376b6a28d8378172ed3f9b92e9d9
tree1d47b710c1abd592fee84d7921257ae75b47038e
parentabc66ce95eee79db058123b985e19dcfc03dc1a7
Introduce generic_value_print_ptr

This introduces generic_value_print_ptr, a value-based analogue of
generic_val_print_ptr, and changes generic_value_print to use it.

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

* valprint.c (generic_value_print): Call generic_value_print_ptr.
* valprint.c (generic_value_print_ptr): New function.
gdb/ChangeLog
gdb/valprint.c