mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
Rename print_spaces_filtered
print_spaces_filtered is now misnamed, because whether filtering happens is up to the stream. So, rename it.
This commit is contained in:
@ -471,7 +471,7 @@ print_children (PyObject *printer, const char *hint,
|
||||
if (pretty)
|
||||
{
|
||||
gdb_puts ("\n", stream);
|
||||
print_spaces_filtered (2 + 2 * recurse, stream);
|
||||
print_spaces (2 + 2 * recurse, stream);
|
||||
}
|
||||
else
|
||||
stream->wrap_here (2 + 2 *recurse);
|
||||
@ -550,14 +550,14 @@ print_children (PyObject *printer, const char *hint,
|
||||
if (pretty)
|
||||
{
|
||||
gdb_puts ("\n", stream);
|
||||
print_spaces_filtered (2 + 2 * recurse, stream);
|
||||
print_spaces (2 + 2 * recurse, stream);
|
||||
}
|
||||
gdb_puts ("...", stream);
|
||||
}
|
||||
if (pretty)
|
||||
{
|
||||
gdb_puts ("\n", stream);
|
||||
print_spaces_filtered (2 * recurse, stream);
|
||||
print_spaces (2 * recurse, stream);
|
||||
}
|
||||
gdb_puts ("}", stream);
|
||||
}
|
||||
|
Reference in New Issue
Block a user