Unify gdb puts functions
Now that filtered and unfiltered output can be treated identically, we can unify the puts family of functions. This is done under the name "gdb_puts". Most of this patch was written by script.
This commit is contained in:
parent
19a7b8ab87
commit
0426ad513f
86 changed files with 1196 additions and 1204 deletions
|
@ -348,12 +348,12 @@ py_print_single_arg (struct ui_out *out,
|
|||
{
|
||||
string_file stb;
|
||||
|
||||
fputs_filtered (fa->sym->print_name (), &stb);
|
||||
gdb_puts (fa->sym->print_name (), &stb);
|
||||
if (fa->entry_kind == print_entry_values_compact)
|
||||
{
|
||||
stb.puts ("=");
|
||||
|
||||
fputs_filtered (fa->sym->print_name (), &stb);
|
||||
gdb_puts (fa->sym->print_name (), &stb);
|
||||
}
|
||||
if (fa->entry_kind == print_entry_values_only
|
||||
|| fa->entry_kind == print_entry_values_compact)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue