Introduce ada_value_print_num
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:42 +0000 (18:03 -0600)
commit39ef85a896e7efa0391a7ed14cc965fe1d46cbb9
tree66fc73a5777ea5573501230273104552144e38a1
parentb9fa6e07980f901f2a3f99b7eed4356d3209a3c4
Introduce ada_value_print_num

This adds ada_value_print_num, a value-based analogue of
ada_val_print_num.

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

* ada-valprint.c (ada_value_print_num): New function.
(ada_value_print_1): Use it.
gdb/ChangeLog
gdb/ada-valprint.c