From 428544e8ae6252a615a3100889f3df7d2c5483c4 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 28 Apr 2017 09:34:52 -0700 Subject: [PATCH] Consistently use fprintf_filtered when displaying MIPS registers. One line was using printf_filtered instead of fprintf_filtered to the requested file. gdb/ChangeLog: * mips-tdep.c (print_gp_register_row): Replace printf_filtered with fprintf_filtered. --- gdb/ChangeLog | 5 +++++ gdb/mips-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index efaf8bb8f9f..a5ecf6eb829 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-04-28 John Baldwin + + * mips-tdep.c (print_gp_register_row): Replace printf_filtered + with fprintf_filtered. + 2017-04-28 Yao Qi * regcache.c (regcache::regcache): New function. diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 45d1d731b0c..2364c2efdc2 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -6539,7 +6539,7 @@ print_gp_register_row (struct ui_file *file, struct frame_info *frame, for (byte = 0; byte < (mips_abi_regsize (gdbarch) - register_size (gdbarch, regnum)); byte++) - printf_filtered (" "); + fprintf_filtered (file, " "); /* Now print the register value in hex, endian order. */ if (gdbarch_byte_order (gdbarch) == BFD_ENDIAN_BIG) for (byte = -- 2.30.2