* elf32-bfin.c (bfin_howto_table): Set src_mask to 0 for all relocs.
[deliverable/binutils-gdb.git] / gdb / infptrace.c
index 1a1502950b1a876d1bbbb0db15afb9a8b6eab8c6..30359675b923aabc58194d8226e0724fa3718f7e 100644 (file)
@@ -144,7 +144,7 @@ child_resume (ptid_t ptid, int step, enum target_signal signal)
   errno = 0;
   ptrace (request, pid, (PTRACE_TYPE_ARG3)1, target_signal_to_host (signal));
   if (errno != 0)
-    perror_with_name ("ptrace");
+    perror_with_name (("ptrace"));
 }
 #endif /* DEPRECATED_CHILD_RESUME */
 \f
@@ -158,11 +158,11 @@ attach (int pid)
   errno = 0;
   ptrace (PT_ATTACH, pid, (PTRACE_TYPE_ARG3) 0, 0);
   if (errno != 0)
-    perror_with_name ("ptrace");
+    perror_with_name (("ptrace"));
   attach_flag = 1;
   return pid;
 #else
-  error ("This system does not support attaching to a process");
+  error (_("This system does not support attaching to a process"));
 #endif
 }
 
@@ -178,10 +178,10 @@ detach (int signal)
   errno = 0;
   ptrace (PT_DETACH, pid, (PTRACE_TYPE_ARG3) 1, signal);
   if (errno != 0)
-    perror_with_name ("ptrace");
+    perror_with_name (("ptrace"));
   attach_flag = 0;
 #else
-  error ("This system does not support detaching from a process");
+  error (_("This system does not support detaching from a process"));
 #endif
 }
 \f
@@ -235,7 +235,7 @@ fetch_register (int regnum)
       errno = 0;
       buf[i] = ptrace (PT_READ_U, tid, (PTRACE_TYPE_ARG3) addr, 0);
       if (errno != 0)
-       error ("Couldn't read register %s (#%d): %s.", REGISTER_NAME (regnum),
+       error (_("Couldn't read register %s (#%d): %s."), REGISTER_NAME (regnum),
               regnum, safe_strerror (errno));
 
       addr += sizeof (PTRACE_TYPE_RET);
@@ -288,8 +288,8 @@ store_register (int regnum)
       errno = 0;
       ptrace (PT_WRITE_U, tid, (PTRACE_TYPE_ARG3) addr, buf[i]);
       if (errno != 0)
-       error ("Couldn't write register %s (#%d): %s.", REGISTER_NAME (regnum),
-              regnum, safe_strerror (errno));
+       error (_("Couldn't write register %s (#%d): %s."),
+              REGISTER_NAME (regnum), regnum, safe_strerror (errno));
 
       addr += sizeof (PTRACE_TYPE_RET);
     }
@@ -332,7 +332,7 @@ store_inferior_registers (int regnum)
    us in the target stack anyway.  */
 
 int
-child_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
+child_xfer_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len, int write,
                   struct mem_attrib *attrib, struct target_ops *target)
 {
   int i;
@@ -464,7 +464,7 @@ udot_info (char *dummy1, int dummy2)
 
   if (!target_has_execution)
     {
-      error ("The program is not being run.");
+      error (_("The program is not being run."));
     }
 
 #if !defined (KERNEL_U_SIZE)
@@ -473,7 +473,7 @@ udot_info (char *dummy1, int dummy2)
      routine, called "kernel_u_size" that returns the size of the user
      struct, to the appropriate *-nat.c file and then add to the native
      config file "#define KERNEL_U_SIZE kernel_u_size()" */
-  error ("Don't know how large ``struct user'' is in this version of gdb.");
+  error (_("Don't know how large ``struct user'' is in this version of gdb."));
 
 #else
 
@@ -509,6 +509,6 @@ _initialize_infptrace (void)
 {
 #if !defined (CHILD_XFER_MEMORY)
   add_info ("udot", udot_info,
-           "Print contents of kernel ``struct user'' for current child.");
+           _("Print contents of kernel ``struct user'' for current child."));
 #endif
 }
This page took 0.027434 seconds and 4 git commands to generate.