Introduce c_value_print_memberptr
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)
commitce80b8bd374e14c1cebe149724274b1894f5f8cf
treeb62434be622cd98aa79f2948fbba4b257e245eca
parent2faac269d59e57a49cd9f9209e1d39e03e2744bc
Introduce c_value_print_memberptr

This adds c_value_print_memberptr, a value-based analogue of
c_val_print_memberptr.

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

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