aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-typeprint.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-01-02 11:53:15 -0700
committerTom Tromey <tom@tromey.com>2022-03-29 12:46:24 -0600
commitd0b1020bf1f9f0e3824d61cd3821e3ea7773f828 (patch)
treef179b275ca3e0d104e84a8009c8a73fcfdd4b53e /gdb/p-typeprint.c
parent6cb06a8cdaaf30f5d879f24d37100cf1d25c6a3a (diff)
downloadgdb-d0b1020bf1f9f0e3824d61cd3821e3ea7773f828.zip
gdb-d0b1020bf1f9f0e3824d61cd3821e3ea7773f828.tar.gz
gdb-d0b1020bf1f9f0e3824d61cd3821e3ea7773f828.tar.bz2
Rename print_spaces_filtered
print_spaces_filtered is now misnamed, because whether filtering happens is up to the stream. So, rename it.
Diffstat (limited to 'gdb/p-typeprint.c')
-rw-r--r--gdb/p-typeprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/p-typeprint.c b/gdb/p-typeprint.c
index 0ef8c92..f222f01 100644
--- a/gdb/p-typeprint.c
+++ b/gdb/p-typeprint.c
@@ -561,7 +561,7 @@ pascal_language::type_print_base (struct type *type, struct ui_file *stream, int
}
}
- print_spaces_filtered (level + 4, stream);
+ print_spaces (level + 4, stream);
if (field_is_static (&type->field (i)))
gdb_printf (stream, "static ");
print_type (type->field (i).type (),
@@ -633,7 +633,7 @@ pascal_language::type_print_base (struct type *type, struct ui_file *stream, int
}
}
- print_spaces_filtered (level + 4, stream);
+ print_spaces (level + 4, stream);
if (TYPE_FN_FIELD_STATIC_P (f, j))
gdb_printf (stream, "static ");
if (TYPE_TARGET_TYPE (TYPE_FN_FIELD_TYPE (f, j)) == 0)