diff options
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r-- | gdb/printcmd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 509f62c..fdbe72b 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -1155,7 +1155,7 @@ do_examine (struct format_data fmt, struct gdbarch *gdbarch, CORE_ADDR addr) } if (format == 'i') - fputs_filtered (pc_prefix (next_address), gdb_stdout); + puts_filtered (pc_prefix (next_address)); print_address (next_gdbarch, next_address, gdb_stdout); printf_filtered (":"); for (i = maxelts; @@ -1683,7 +1683,7 @@ info_address_command (const char *exp, int from_tty) } printf_filtered ("Symbol \""); - fputs_filtered (sym->print_name (), gdb_stdout); + puts_filtered (sym->print_name ()); printf_filtered ("\" is "); val = SYMBOL_VALUE (sym); if (SYMBOL_OBJFILE_OWNED (sym)) @@ -2184,9 +2184,9 @@ do_one_display (struct display *d) } catch (const gdb_exception_error &ex) { - fprintf_filtered (gdb_stdout, _("%p[<error: %s>%p]\n"), - metadata_style.style ().ptr (), ex.what (), - nullptr); + printf_filtered (_("%p[<error: %s>%p]\n"), + metadata_style.style ().ptr (), ex.what (), + nullptr); } } else |