From f12f6bad7d4e8de1d1f4c9c1811757571149c8f1 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 22 May 2017 16:55:18 -0600 Subject: 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 * 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/valprint.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'gdb/valprint.h') diff --git a/gdb/valprint.h b/gdb/valprint.h index f71d4ab..302626d 100644 --- a/gdb/valprint.h +++ b/gdb/valprint.h @@ -121,9 +121,6 @@ extern void val_print_array_elements (struct type *, LONGEST, const struct value_print_options *, unsigned int); -extern void val_print_type_code_int (struct type *, const gdb_byte *, - struct ui_file *); - extern void val_print_scalar_formatted (struct type *, LONGEST, struct value *, -- cgit v1.1