Remove ada_value_print_inner
authorTom Tromey <tromey@adacore.com>
Wed, 20 Oct 2021 20:25:21 +0000 (14:25 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 29 Oct 2021 13:46:28 +0000 (07:46 -0600)
commit7a72f09da5c62a213952752c9659e7686e1dd4ab
tree88853f0b09b6b7ba7564f82bd9d5b3dbdaef380f
parent52429bbd71af5f14f8f3f5a962a2457a93c6d171
Remove ada_value_print_inner

I noticed that the only caller of ada_value_print_inner is
valprint.c:do_val_print (via ada_language::value_print_inner), meaning
that the try/catch logic in this function is redundant.  This patch
removes the wrapper function.

Regression tested on x86-64 Fedora 34.
gdb/ada-valprint.c