From: Tom Tromey Date: Mon, 3 Jan 2022 18:04:01 +0000 (-0700) Subject: Fix use of 'printf' in gdbtypes.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23bb7876f0d69a6f7c0356d7e557774b829a93dc;p=binutils-gdb.git Fix use of 'printf' in gdbtypes.c An earlier patch of mine, commit 64b7cc50 ("Remove gdb_print_host_address") inadvertently changed a function in gdbtypes.c to use printf rather than printf_filtered. This patch fixes the problem. --- diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index ab1c9d43318..8af96c79e6c 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -5312,7 +5312,7 @@ recursive_dump_type (struct type *type, int spaces) } printf_filtered ("\n"); } - printf ("%s\n", host_address_to_string (type->fields ())); + printf_filtered ("%s\n", host_address_to_string (type->fields ())); for (idx = 0; idx < type->num_fields (); idx++) { if (type->code () == TYPE_CODE_ENUM)