From patchwork Mon Feb 2 03:57:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Brobecker X-Patchwork-Id: 4869 Received: (qmail 8823 invoked by alias); 2 Feb 2015 03:58:02 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 8804 invoked by uid 89); 2 Feb 2015 03:58:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 02 Feb 2015 03:58:01 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 8AEC211634F for ; Sun, 1 Feb 2015 22:57:59 -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 0+2LavV4kEYb for ; Sun, 1 Feb 2015 22:57:59 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 24F39116307 for ; Sun, 1 Feb 2015 22:57:59 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 6F06340EBF; Mon, 2 Feb 2015 07:57:55 +0400 (RET) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: FYI: Add missing i18n marker in dwarf2_evaluate_property warning message. Date: Mon, 2 Feb 2015 07:57:46 +0400 Message-Id: <1422849466-12439-1-git-send-email-brobecker@adacore.com> In-Reply-To: <20150130015603.GA28935@sourceware.org> References: <20150130015603.GA28935@sourceware.org> gdb/ChangeLog: * dwarf2loc.c (dwarf2_evaluate_property): Add i18n marker. Tested by rebuilding GDB on x86_64-linux. --- gdb/ChangeLog | 4 ++++ gdb/dwarf2loc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index eadf210..351ccdd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2015-02-02 Joel Brobecker + * dwarf2loc.c (dwarf2_evaluate_property): Add i18n marker. + +2015-02-02 Joel Brobecker + PR gdb/17856: * ada-lang.c (ada_lookup_symbol_list_worker): Do not re-cache results found in the cache. diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index fae67ee..fc0f112 100644 --- a/gdb/dwarf2loc.c +++ b/gdb/dwarf2loc.c @@ -2524,7 +2524,7 @@ dwarf2_evaluate_property (const struct dynamic_prop *prop, if (pinfo->type == baton->referenced_type) break; if (pinfo == NULL) - error ("cannot find reference address for offset property"); + error (_("cannot find reference address for offset property")); val = value_at (baton->offset_info.type, pinfo->addr + baton->offset_info.offset); *value = value_as_address (val);