Fix ARI violations in mips-linux-nat.c and mips-tdep.c
authorJoel Brobecker <brobecker@gnat.com>
Fri, 2 Mar 2012 19:14:30 +0000 (19:14 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 2 Mar 2012 19:14:30 +0000 (19:14 +0000)
gdb/ChangeLog:

        * mips-linux-nat.c (mips_linux_read_description): Add missing i18n
        marker.
        * mips-tdep.c (mips_linux_reg_names): Improve comment to avoid ARI
        violation.

gdb/ChangeLog
gdb/mips-linux-nat.c
gdb/mips-tdep.c

index ca2224911fed1d3bf7d38142f57a004af6988616..2ef95916d29b9ac965d90c754d21d9fa3847b522 100644 (file)
@@ -1,3 +1,10 @@
+2012-03-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * mips-linux-nat.c (mips_linux_read_description): Add missing i18n
+       marker.
+       * mips-tdep.c (mips_linux_reg_names): Improve comment to avoid ARI
+       violation.
+
 2012-03-02  Pedro Alves  <palves@redhat.com>
 
        * linux-thread-db.c (attach_thread): Avoid in_thread_list call.
index af472df044122000b24a1e0bb08d7f50350c9e8e..b63be2eb3426e09a89991fa5b5b6bfdf9f12eb7d 100644 (file)
@@ -447,7 +447,7 @@ mips_linux_read_description (struct target_ops *ops)
          have_dsp = 0;
          break;
        default:
-         perror_with_name ("ptrace");
+         perror_with_name (_("ptrace"));
          break;
        }
     }
index 6c78640622ffb0439c27dedafacbb208a52d83a7..013b07c8803f4593b0572559beb9fc49fbd702e2 100644 (file)
@@ -428,7 +428,7 @@ static const char *mips_irix_reg_names[NUM_MIPS_PROCESSOR_REGS] = {
   "pc", "cause", "bad", "hi", "lo", "fsr", "fir"
 };
 
-/* Names of Linux registers.  */
+/* Names of registers with Linux kernels.  */
 static const char *mips_linux_reg_names[NUM_MIPS_PROCESSOR_REGS] = {
   "sr", "lo", "hi", "bad", "cause", "pc",
   "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7",