summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-03-02 19:14:29 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-03-02 19:14:29 +0000
commit370416f95095fa78ae7045224eeca50011a5e577 (patch)
tree14cffc2ce15e1aa3df097462bcbfb02239c58e2e
parent9d869a82af6b5052d38dca64de2fdbcd081b6171 (diff)
downloadgdb-370416f95095fa78ae7045224eeca50011a5e577.tar.gz
Fix ARI violations in mips-linux-nat.c and mips-tdep.c
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.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/mips-linux-nat.c2
-rw-r--r--gdb/mips-tdep.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ca2224911fe..2ef95916d29 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
index af472df0441..b63be2eb342 100644
--- a/gdb/mips-linux-nat.c
+++ b/gdb/mips-linux-nat.c
@@ -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;
}
}
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 6c78640622f..013b07c8803 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -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",