Merge do_val_print and common_val_print
authorTom Tromey <tom@tromey.com>
Thu, 27 Jan 2022 00:57:33 +0000 (17:57 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 6 Feb 2022 21:27:58 +0000 (14:27 -0700)
commit1a1bfce78f58cc934bf6ace4d03ddc87c9cbb860
treec6868e38013866ca266f78296387f76b349b0c15
parent5d0027b9bab7cbf5eb41a8c8ad1b9e4650d5f87e
Merge do_val_print and common_val_print

The only caller of do_val_print just does a small bit of work before
the call.  This patch merges the two functions, and removes an
unnecessary local variable, making gdb a bit simpler.
gdb/valprint.c