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:
parent
6cb06a8cda
commit
d0b1020bf1
17 changed files with 47 additions and 47 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue