From 23bb7876f0d69a6f7c0356d7e557774b829a93dc Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 3 Jan 2022 11:04:01 -0700 Subject: [PATCH] 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. --- gdb/gdbtypes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2