forked from Imagelibrary/binutils-gdb
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:
@@ -206,13 +206,13 @@ c_printstr (struct ui_file *stream, struct type *type,
|
||||
case C_STRING:
|
||||
break;
|
||||
case C_WIDE_STRING:
|
||||
fputs_filtered ("L", stream);
|
||||
gdb_puts ("L", stream);
|
||||
break;
|
||||
case C_STRING_16:
|
||||
fputs_filtered ("u", stream);
|
||||
gdb_puts ("u", stream);
|
||||
break;
|
||||
case C_STRING_32:
|
||||
fputs_filtered ("U", stream);
|
||||
gdb_puts ("U", stream);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user