aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-05-22 16:55:18 -0600
committerTom Tromey <tom@tromey.com>2017-06-12 15:04:58 -0600
commitf12f6bad7d4e8de1d1f4c9c1811757571149c8f1 (patch)
tree15a6dd06b4940a26512ec20b8d64e329481d9c84 /gdb/ChangeLog
parentd9109c8080ac0a2caeaa5f3d51e8a3b4891a68a8 (diff)
downloadgdb-f12f6bad7d4e8de1d1f4c9c1811757571149c8f1.zip
gdb-f12f6bad7d4e8de1d1f4c9c1811757571149c8f1.tar.gz
gdb-f12f6bad7d4e8de1d1f4c9c1811757571149c8f1.tar.bz2
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ec006f5..2956819 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,17 @@
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.
+
+2017-06-12 Tom Tromey <tom@tromey.com>
+
* printcmd.c (print_scalar_formatted): Unify the two switches.
Don't convert scalars to LONGEST.