From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5763 invoked by alias); 10 Jan 2011 02:44:15 -0000 Received: (qmail 5754 invoked by uid 22791); 10 Jan 2011 02:44:14 -0000 X-SWARE-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 10 Jan 2011 02:44:09 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 35A943D001 for ; Sun, 9 Jan 2011 18:44:06 -0800 (PST) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost3.vmware.com (Postfix) with ESMTP id 2CDBACD933 for ; Sun, 9 Jan 2011 18:44:06 -0800 (PST) Message-ID: <4D2A7275.4090002@vmware.com> Date: Mon, 10 Jan 2011 02:44:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.24 (X11/20101201) MIME-Version: 1.0 To: "gdb-patches@sourceware.org" Subject: Re: New ARI warning Mon Jan 10 01:56:19 UTC 2011 References: <20110110015619.GA13992@sourceware.org> In-Reply-To: <20110110015619.GA13992@sourceware.org> Content-Type: multipart/mixed; boundary="------------000803030401050300050004" X-IsSubscribed: yes 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: 2011-01/txt/msg00182.txt.bz2 This is a multi-part message in MIME format. --------------000803030401050300050004 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 654 GDB Administrator wrote: > 596a597,600 >> gdb/m32r-rom.c:450: gettext: _ markup: All messages should be marked up with _. > gdb/m32r-rom.c:450: error ("Please use 'set board-address' to " >> gdb/m32r-rom.c:482: gettext: _ markup: All messages should be marked up with _. > gdb/m32r-rom.c:482: error ("Need to know gdb host computer's " >> gdb/m32r-rom.c:495: gettext: _ markup: All messages should be marked up with _. > gdb/m32r-rom.c:495: error ("Need to know default download " >> gdb/m32r-rom.c:517: gettext: _ markup: All messages should be marked up with _. > gdb/m32r-rom.c:517: error ("Upload file not found: %s.srec\n" Fixed up as below: --------------000803030401050300050004 Content-Type: text/plain; name="ari2.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ari2.txt" Content-length: 2091 2011-01-08 Michael Snyder * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _ markup. Index: m32r-rom.c =================================================================== RCS file: /cvs/src/src/gdb/m32r-rom.c,v retrieving revision 1.44 diff -u -p -r1.44 m32r-rom.c --- m32r-rom.c 9 Jan 2011 03:20:33 -0000 1.44 +++ m32r-rom.c 10 Jan 2011 02:41:25 -0000 @@ -447,8 +447,8 @@ m32r_upload_command (char *args, int fro myIPaddress++; if (!strncmp (myIPaddress, "0.0.", 4)) /* empty */ - error ("Please use 'set board-address' to " - "set the M32R-EVA board's IP address."); + error (_("Please use 'set board-address' to " + "set the M32R-EVA board's IP address.")); if (strchr (myIPaddress, '(')) *(strchr (myIPaddress, '(')) = '\0'; /* delete trailing junk */ board_addr = xstrdup (myIPaddress); @@ -479,8 +479,8 @@ m32r_upload_command (char *args, int fro } } if (server_addr == 0) /* failed? */ - error ("Need to know gdb host computer's " - "IP address (use 'set server-address')"); + error (_("Need to know gdb host computer's " + "IP address (use 'set server-address')")); } if (args == 0 || args[0] == 0) /* No args: upload the current @@ -492,8 +492,8 @@ m32r_upload_command (char *args, int fro if (current_directory) download_path = xstrdup (current_directory); else - error ("Need to know default download " - "path (use 'set download-path')"); + error (_("Need to know default download " + "path (use 'set download-path')")); } gettimeofday (&start_time, NULL); @@ -514,9 +514,9 @@ m32r_upload_command (char *args, int fro resp_len = monitor_expect_prompt (buf, sizeof (buf)); /* parse result? */ if (buf[0] == 0 || strstr (buf, "complete") == 0) - error ("Upload file not found: %s.srec\n" - "Check IP addresses and download path.", - args); + error (_("Upload file not found: %s.srec\n" + "Check IP addresses and download path."), + args); else printf_filtered (" -- Ethernet load complete.\n"); --------------000803030401050300050004--