aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-valprint.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/ada-valprint.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/ada-valprint.c')
-rw-r--r--gdb/ada-valprint.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c
index 2db3111..ed0ce56 100644
--- a/gdb/ada-valprint.c
+++ b/gdb/ada-valprint.c
@@ -166,7 +166,7 @@ val_print_packed_array_elements (struct type *type, const gdb_byte *valaddr,
if (options->prettyformat_arrays)
{
gdb_printf (stream, ",\n");
- print_spaces_filtered (2 + 2 * recurse, stream);
+ print_spaces (2 + 2 * recurse, stream);
}
else
{
@@ -176,7 +176,7 @@ val_print_packed_array_elements (struct type *type, const gdb_byte *valaddr,
else if (options->prettyformat_arrays)
{
gdb_printf (stream, "\n");
- print_spaces_filtered (2 + 2 * recurse, stream);
+ print_spaces (2 + 2 * recurse, stream);
}
stream->wrap_here (2 + 2 * recurse);
maybe_print_array_index (index_type, i + low, stream, options);
@@ -229,7 +229,7 @@ val_print_packed_array_elements (struct type *type, const gdb_byte *valaddr,
if (options->prettyformat_arrays)
{
gdb_printf (stream, ",\n");
- print_spaces_filtered (2 + 2 * recurse, stream);
+ print_spaces (2 + 2 * recurse, stream);
}
else
{
@@ -621,7 +621,7 @@ print_field_values (struct value *value, struct value *outer_value,
if (options->prettyformat)
{
gdb_printf (stream, "\n");
- print_spaces_filtered (2 + 2 * recurse, stream);
+ print_spaces (2 + 2 * recurse, stream);
}
else
{
@@ -887,7 +887,7 @@ ada_val_print_struct_union (struct value *value,
&& options->prettyformat)
{
gdb_printf (stream, "\n");
- print_spaces_filtered (2 * recurse, stream);
+ print_spaces (2 * recurse, stream);
}
gdb_printf (stream, ")");