This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Remove val_print_type_code_int
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Tue, 13 Jun 2017 01:43:01 -0400
- Subject: [binutils-gdb] Remove val_print_type_code_int
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT f12f6bad7d4e8de1d1f4c9c1811757571149c8f1 ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: f12f6bad7d4e8de1d1f4c9c1811757571149c8f1
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.