binutils-gdb/gdb/compile
Tom Tromey 32f47895b5 Remove printfi_filtered and fprintfi_filtered
After seeing Simon's patch, I thought maybe it was finally time to
remove printfi_filtered and fprintfi_filtered, in favor of using the
"%*s" approach to indenting.

In this patch I took the straightforward approach of always adding a
leading "%*s", even when the format already started with "%s", to
avoid the trickier form of:

    printf ("%*s", -indent, string)

Regression tested on x86-64 Fedora 32.
Let me know what you think.

gdb/ChangeLog
2020-12-17  Tom Tromey  <tromey@adacore.com>

	* gdbtypes.c (print_args, dump_fn_fieldlists, print_cplus_stuff)
	(print_gnat_stuff, print_fixed_point_type_info)
	(recursive_dump_type): Update.
	* go32-nat.c (go32_sysinfo, display_descriptor): Update.
	* c-typeprint.c (c_type_print_base_struct_union)
	(c_type_print_base_1): Update.
	* rust-lang.c (rust_internal_print_type): Update.
	* f-typeprint.c (f_language::f_type_print_base): Update.
	* utils.h (fprintfi_filtered, printfi_filtered): Remove.
	* m2-typeprint.c (m2_record_fields): Update.
	* p-typeprint.c (pascal_type_print_base): Update.
	* compile/compile-loc2c.c (push, pushf, unary, binary)
	(do_compile_dwarf_expr_to_c): Update.
	* utils.c (fprintfi_filtered, printfi_filtered): Remove.
2020-12-17 13:29:38 -07:00
..
compile-c-support.c gdb: remove TYPE_UNSIGNED 2020-09-14 11:07:57 -04:00
compile-c-symbols.c gdb: remove TYPE_GNU_IFUNC 2020-09-14 11:08:06 -04:00
compile-c-types.c gdb: make get_array_bounds return bool 2020-11-17 18:47:05 -05:00
compile-c.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
compile-cplus-symbols.c Rewrite enum_flags, add unit tests, fix problems 2020-09-14 22:21:07 +01:00
compile-cplus-types.c gdb: make get_array_bounds return bool 2020-11-17 18:47:05 -05:00
compile-cplus.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
compile-internal.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
compile-loc2c.c Remove printfi_filtered and fprintfi_filtered 2020-12-17 13:29:38 -07:00
compile-object-load.c gdb, gdbserver, gdbsupport: fix leading space vs tabs issues 2020-11-02 10:28:45 -05:00
compile-object-load.h Add a missing munmap_list move constructor 2020-09-25 10:57:06 -04:00
compile-object-run.c Simplify compile_module cleanup 2020-09-23 09:32:56 -06:00
compile-object-run.h Introduce and use compile_module_up 2020-09-23 09:32:55 -06:00
compile.c Remove target_has_execution macro 2020-09-28 19:52:21 -06:00
compile.h Remove dwarf2_per_cu_data::text_offset 2020-05-27 11:15:57 -04:00
gcc-c-plugin.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gcc-cp-plugin.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00