mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
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:
@ -178,9 +178,9 @@ public:
|
||||
void printchar (int ch, struct type *chtype,
|
||||
struct ui_file *stream) const override
|
||||
{
|
||||
fputs_filtered ("'", stream);
|
||||
gdb_puts ("'", stream);
|
||||
emitchar (ch, chtype, stream, '\'');
|
||||
fputs_filtered ("'", stream);
|
||||
gdb_puts ("'", stream);
|
||||
}
|
||||
|
||||
/* See language.h. */
|
||||
|
Reference in New Issue
Block a user