Remove val_print_type_code_int
authorTom Tromey <tom@tromey.com>
Mon, 22 May 2017 22:55:18 +0000 (16:55 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 12 Jun 2017 21:04:58 +0000 (15:04 -0600)
commitf12f6bad7d4e8de1d1f4c9c1811757571149c8f1
tree15a6dd06b4940a26512ec20b8d64e329481d9c84
parentd9109c8080ac0a2caeaa5f3d51e8a3b4891a68a8
Remove val_print_type_code_int

Now that print_scalar_formatted is more capable, there's no need for
val_print_type_code_int.  This patch removes it in favor of
val_print_scalar_formatted.

2017-06-12  Tom Tromey  <tom@tromey.com>

* valprint.h (val_print_type_code_int): Remove.
* valprint.c (generic_val_print_int): Always call
val_print_scalar_formatted.
(val_print_type_code_int): Remove.
* printcmd.c (print_scalar_formatted): Handle options->format==0.
* f-valprint.c (f_val_print): Use val_print_scalar_formatted.
* c-valprint.c (c_val_print_int): Use val_print_scalar_formatted.
* ada-valprint.c (ada_val_print_num): Use
val_print_scalar_formatted.
gdb/ChangeLog
gdb/ada-valprint.c
gdb/c-valprint.c
gdb/f-valprint.c
gdb/valprint.c
gdb/valprint.h
This page took 0.030538 seconds and 4 git commands to generate.