Consistently use fprintf_filtered when displaying MIPS registers.
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 28 Apr 2017 16:34:52 +0000 (09:34 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 28 Apr 2017 16:35:14 +0000 (09:35 -0700)
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
gdb/mips-tdep.c

index efaf8bb8f9f940e4bb502086d83698b357791f61..a5ecf6eb829d74a6a68aa57026a7618bc4c2f5a3 100644 (file)
@@ -1,3 +1,8 @@
+2017-04-28  John Baldwin  <jhb@FreeBSD.org>
+
+       * mips-tdep.c (print_gp_register_row): Replace printf_filtered
+       with fprintf_filtered.
+
 2017-04-28  Yao Qi  <yao.qi@linaro.org>
 
        * regcache.c (regcache::regcache): New function.
index 45d1d731b0cd129f58101a7b2ba922974aa11aee..2364c2efdc25adb19f09ab7f7a32502836039598 100644 (file)
@@ -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 =