aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-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/p-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/p-valprint.c')
-rw-r--r--gdb/p-valprint.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/p-valprint.c b/gdb/p-valprint.c
index 926b0f1..3b98b88 100644
--- a/gdb/p-valprint.c
+++ b/gdb/p-valprint.c
@@ -267,7 +267,7 @@ pascal_language::value_print_inner (struct value *val,
if (options->prettyformat)
{
gdb_printf (stream, "\n");
- print_spaces_filtered (2 + 2 * recurse, stream);
+ print_spaces (2 + 2 * recurse, stream);
}
}
}
@@ -559,7 +559,7 @@ pascal_object_print_value_fields (struct value *val, struct ui_file *stream,
if (options->prettyformat)
{
gdb_printf (stream, "\n");
- print_spaces_filtered (2 + 2 * recurse, stream);
+ print_spaces (2 + 2 * recurse, stream);
gdb_puts ("members of ", stream);
gdb_puts (type->name (), stream);
gdb_puts (": ", stream);
@@ -570,7 +570,7 @@ pascal_object_print_value_fields (struct value *val, struct ui_file *stream,
if (options->prettyformat)
{
gdb_printf (stream, "\n");
- print_spaces_filtered (2 + 2 * recurse, stream);
+ print_spaces (2 + 2 * recurse, stream);
}
else
{
@@ -671,7 +671,7 @@ pascal_object_print_value_fields (struct value *val, struct ui_file *stream,
if (options->prettyformat)
{
gdb_printf (stream, "\n");
- print_spaces_filtered (2 * recurse, stream);
+ print_spaces (2 * recurse, stream);
}
}
gdb_printf (stream, "}");
@@ -762,7 +762,7 @@ pascal_object_print_value (struct value *val, struct ui_file *stream,
if (options->prettyformat)
{
gdb_printf (stream, "\n");
- print_spaces_filtered (2 * recurse, stream);
+ print_spaces (2 * recurse, stream);
}
gdb_puts ("<", stream);
/* Not sure what the best notation is in the case where there is no