gdb: testsuite: fix failed testcases in gdb.base/gdb-caching-proc.exp
[binutils-gdb.git] / gdb / arm-linux-tdep.c
index 025ecf0c625fffc1367de0f9c2ffae36b4c43767..6aac016afb91291b0c86dfef6ac54d4c4ed827e4 100644 (file)
@@ -1,6 +1,6 @@
 /* GNU/Linux on ARM target support.
 
-   Copyright (C) 1999-2021 Free Software Foundation, Inc.
+   Copyright (C) 1999-2022 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -1650,9 +1650,10 @@ arm_linux_syscall_record (struct regcache *regcache, unsigned long svc_number)
 
   if (syscall_gdb == gdb_sys_no_syscall)
     {
-      printf_unfiltered (_("Process record and replay target doesn't "
-                          "support syscall number %s\n"),
-                          plongest (svc_number));
+      fprintf_unfiltered (gdb_stderr,
+                         _("Process record and replay target doesn't "
+                           "support syscall number %s\n"),
+                         plongest (svc_number));
       return -1;
     }