diff options
author | Tom Tromey <tom@tromey.com> | 2022-01-02 11:36:44 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-03-29 12:46:24 -0600 |
commit | 0426ad513f93bb1c5805988e60d6f87fbe738860 (patch) | |
tree | 6ad0f94f9b2a907623df38db9dd7727fe80f5d51 /gdb/s12z-tdep.c | |
parent | 19a7b8ab871b92dee32a0ebffe274388d3426564 (diff) | |
download | binutils-gdb-0426ad513f93bb1c5805988e60d6f87fbe738860.tar.gz |
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.
Diffstat (limited to 'gdb/s12z-tdep.c')
-rw-r--r-- | gdb/s12z-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/s12z-tdep.c b/gdb/s12z-tdep.c index 659adf4f505..d13d7397057 100644 --- a/gdb/s12z-tdep.c +++ b/gdb/s12z-tdep.c @@ -518,7 +518,7 @@ s12z_print_ccw_info (struct gdbarch *gdbarch, struct value *v = value_of_register (reg, frame); const char *name = gdbarch_register_name (gdbarch, reg); uint32_t ccw = value_as_long (v); - fputs_filtered (name, file); + gdb_puts (name, file); size_t len = strlen (name); const int stop_1 = 15; const int stop_2 = 17; |