From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14678 invoked by alias); 9 Mar 2012 00:42:23 -0000 Received: (qmail 14670 invoked by uid 22791); 9 Mar 2012 00:42:22 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Mar 2012 00:42:09 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1S5nuJ-0002D9-Ny from Maciej_Rozycki@mentor.com ; Thu, 08 Mar 2012 16:42:07 -0800 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 8 Mar 2012 16:42:07 -0800 Received: from [172.30.13.7] (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.1.289.1; Fri, 9 Mar 2012 00:42:05 +0000 Date: Fri, 09 Mar 2012 00:42:00 -0000 From: "Maciej W. Rozycki" To: Joel Brobecker CC: Subject: Re: [commit] Fix ARI violations in mips-linux-nat.c and mips-tdep.c In-Reply-To: <1330715778-30398-1-git-send-email-brobecker@adacore.com> Message-ID: References: <20120302015615.GA30880@sourceware.org> <1330715778-30398-1-git-send-email-brobecker@adacore.com> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" 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/msg00315.txt.bz2 On Fri, 2 Mar 2012, Joel Brobecker wrote: > 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; > } > } Hmm, I'm not sure if "ptrace" can be translated to anything as it's a proper name; however if you're in a picky mood, then watch out for numerous cases like this: gdb/event-loop.c: perror_with_name (("poll")); including a zillion in gdb/inf-ttrace.c. Maciej