Refactor val_print and common_val_print
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:39 +0000 (18:03 -0600)
commitb0c26e99f50d6926dd628ec51c1e9a037c521ab5
tree3ca0e751437bd63d31d274560fa0fb87e1f393ab
parentce3acbe9fa876647649cc88f94264a5c56bf46a1
Refactor val_print and common_val_print

This changes val_print and common_val_print to use a new helper
function.  A theme in the coming patches is that calls to val_print
itself should be removed.  This is the first such patch; at the end of
the series, we'll remove val_print and simplify do_val_print.

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

* valprint.c (do_val_print): New function, from val_print.
(val_print): Use do_val_print.
(common_val_print): Use do_val_print.
gdb/ChangeLog
gdb/valprint.c
This page took 0.028361 seconds and 4 git commands to generate.