aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-01-03 11:04:01 -0700
committerTom Tromey <tromey@adacore.com>2022-01-03 11:04:01 -0700
commit23bb7876f0d69a6f7c0356d7e557774b829a93dc (patch)
tree63ef1719a2816a68473c0033cf969709897f1a44
parentb896e87d76ec68cc62487a56fbd9091d940f6cde (diff)
downloadgdb-23bb7876f0d69a6f7c0356d7e557774b829a93dc.zip
gdb-23bb7876f0d69a6f7c0356d7e557774b829a93dc.tar.gz
gdb-23bb7876f0d69a6f7c0356d7e557774b829a93dc.tar.bz2
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.
-rw-r--r--gdb/gdbtypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index ab1c9d4..8af96c7 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)