merge from gcc
[deliverable/binutils-gdb.git] / gdb / ppcobsd-nat.c
index 713eb4afeba0882f1bb750afbcf19affd3224c42..eac058b304a3b6106756466128f5e7494dd77ff9 100644 (file)
@@ -43,8 +43,8 @@ fetch_inferior_registers (int regnum)
   struct reg regs;
 
   if (ptrace (PT_GETREGS, PIDGET (inferior_ptid),
-             (PTRACE_ARG3_TYPE) &regs, 0) == -1)
-    perror_with_name ("Couldn't get registers");
+             (PTRACE_TYPE_ARG3) &regs, 0) == -1)
+    perror_with_name (_("Couldn't get registers"));
 
   ppcobsd_supply_gregset (&ppcobsd_gregset, current_regcache, -1,
                          &regs, sizeof regs);
@@ -59,15 +59,15 @@ store_inferior_registers (int regnum)
   struct reg regs;
 
   if (ptrace (PT_GETREGS, PIDGET (inferior_ptid),
-             (PTRACE_ARG3_TYPE) &regs, 0) == -1)
-    perror_with_name ("Couldn't get registers");
+             (PTRACE_TYPE_ARG3) &regs, 0) == -1)
+    perror_with_name (_("Couldn't get registers"));
 
   ppcobsd_collect_gregset (&ppcobsd_gregset, current_regcache,
                           regnum, &regs, sizeof regs);
 
   if (ptrace (PT_SETREGS, PIDGET (inferior_ptid),
-             (PTRACE_ARG3_TYPE) &regs, 0) == -1)
-    perror_with_name ("Couldn't write registers");
+             (PTRACE_TYPE_ARG3) &regs, 0) == -1)
+    perror_with_name (_("Couldn't write registers"));
 }
 \f
 
This page took 0.024466 seconds and 4 git commands to generate.