Two simple uses of value_print_scalar_formatted
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:40 +0000 (18:03 -0600)
commit4dba70eee1fadcb3c1bb50ba17e0fe3512c84180
tree962164e8ba6760e6f2fd5ff49468d8c53b40e1d9
parent4f9ae810130bc4202ec1c5eae934900c542a9016
Two simple uses of value_print_scalar_formatted

A couple of spots could be easily converted to use
value_print_scalar_formatted.  This patch makes this change.

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

* printcmd.c (print_formatted): Use value_print_scalar_formatted.
* mips-tdep.c (mips_print_register): Use
value_print_scalar_formatted.
gdb/ChangeLog
gdb/mips-tdep.c
gdb/printcmd.c