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
|
@ -503,7 +503,7 @@ print_command_trace (const char *fmt, ...)
|
|||
va_start (args, fmt);
|
||||
gdb_vprintf (fmt, args);
|
||||
va_end (args);
|
||||
puts_filtered ("\n");
|
||||
gdb_puts ("\n");
|
||||
}
|
||||
|
||||
/* Helper for execute_control_command. */
|
||||
|
@ -1655,7 +1655,7 @@ show_user_1 (struct cmd_list_element *c, const char *prefix, const char *name,
|
|||
if (cmdlines)
|
||||
{
|
||||
print_command_lines (current_uiout, cmdlines, 1);
|
||||
fputs_filtered ("\n", stream);
|
||||
gdb_puts ("\n", stream);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue