From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 913 invoked by alias); 2 Mar 2012 19:16:40 -0000 Received: (qmail 889 invoked by uid 22791); 2 Mar 2012 19:16:38 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Mar 2012 19:16:25 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 38C6D1C6A90; Fri, 2 Mar 2012 14:16:24 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1CXhF7uTw0jj; Fri, 2 Mar 2012 14:16:24 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 027EF1C6BAE; Fri, 2 Mar 2012 14:16:24 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 4BB3B145615; Fri, 2 Mar 2012 11:16:19 -0800 (PST) From: Joel Brobecker To: gdb-patches@sourceware.org Cc: Joel Brobecker Subject: [commit] Fix ARI violations in mips-linux-nat.c and mips-tdep.c Date: Fri, 02 Mar 2012 19:16:00 -0000 Message-Id: <1330715778-30398-1-git-send-email-brobecker@adacore.com> In-Reply-To: <20120302015615.GA30880@sourceware.org> References: <20120302015615.GA30880@sourceware.org> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-03/txt/msg00098.txt.bz2 Hello, I checked the following patch in to fix a couple of new ARI violations. Once again the Linux kernel vs GNU/Linux rule strikes, and once again, I find that it makes the text harder to read... 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. Checked in. --- gdb/ChangeLog | 7 +++++++ gdb/mips-linux-nat.c | 2 +- gdb/mips-tdep.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ca22249..2ef9591 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2012-03-02 Joel Brobecker + + * 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 * 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 af472df..b63be2e 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 6c78640..013b07c 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", -- 1.7.1