diff options
author | Tom Tromey <tom@tromey.com> | 2022-01-02 11:53:15 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-03-29 12:46:24 -0600 |
commit | d0b1020bf1f9f0e3824d61cd3821e3ea7773f828 (patch) | |
tree | f179b275ca3e0d104e84a8009c8a73fcfdd4b53e /gdb/valprint.c | |
parent | 6cb06a8cdaaf30f5d879f24d37100cf1d25c6a3a (diff) | |
download | gdb-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/valprint.c')
-rw-r--r-- | gdb/valprint.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/valprint.c b/gdb/valprint.c index 7cdf610..9990d43 100644 --- a/gdb/valprint.c +++ b/gdb/valprint.c @@ -1929,7 +1929,7 @@ value_print_array_elements (struct value *val, struct ui_file *stream, if (options->prettyformat_arrays) { gdb_printf (stream, ",\n"); - print_spaces_filtered (2 + 2 * recurse, stream); + print_spaces (2 + 2 * recurse, stream); } else gdb_printf (stream, ", "); @@ -1937,7 +1937,7 @@ value_print_array_elements (struct value *val, struct ui_file *stream, 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_bound, @@ -1985,7 +1985,7 @@ value_print_array_elements (struct value *val, struct ui_file *stream, if (options->prettyformat_arrays) { gdb_printf (stream, "\n"); - print_spaces_filtered (2 * recurse, stream); + print_spaces (2 * recurse, stream); } } |