]> Git Repo - binutils.git/blobdiff - gdb/moxie-tdep.c
Unify gdb printf functions
[binutils.git] / gdb / moxie-tdep.c
index e3507d948f8701ea97558143d68c915543b2a48d..f5cf501cea06ce33d470452da04b5515531c121b 100644 (file)
@@ -279,10 +279,10 @@ moxie_process_readu (CORE_ADDR addr, gdb_byte *buf,
   if (target_read_memory (addr, buf, length))
     {
       if (record_debug)
-       fprintf_unfiltered (gdb_stderr,
-                           _("Process record: error reading memory at "
-                             "addr 0x%s len = %d.\n"),
-                           paddress (target_gdbarch (), addr), length);
+       gdb_printf (gdb_stderr,
+                   _("Process record: error reading memory at "
+                     "addr 0x%s len = %d.\n"),
+                   paddress (target_gdbarch (), addr), length);
       return -1;
     }
 
@@ -629,9 +629,9 @@ moxie_process_record (struct gdbarch *gdbarch, struct regcache *regcache,
   enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
 
   if (record_debug > 1)
-    fprintf_unfiltered (gdb_stdlog, "Process record: moxie_process_record "
-                                   "addr = 0x%s\n",
-                       paddress (target_gdbarch (), addr));
+    gdb_printf (gdb_stdlog, "Process record: moxie_process_record "
+               "addr = 0x%s\n",
+               paddress (target_gdbarch (), addr));
 
   inst = (uint16_t) moxie_process_readu (addr, buf, 2, byte_order);
 
This page took 0.02635 seconds and 4 git commands to generate.