From 2c811c0f343426fe6b61dc89d3944a51b20a100a Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Mon, 2 Feb 2015 07:54:02 +0400 Subject: [PATCH] Add missing i18n marker in dwarf2_evaluate_property warning message. gdb/ChangeLog: * dwarf2loc.c (dwarf2_evaluate_property): Add i18n marker. --- gdb/ChangeLog | 4 ++++ gdb/dwarf2loc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index eadf2100955..351ccdd2ebb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2015-02-02 Joel Brobecker + + * dwarf2loc.c (dwarf2_evaluate_property): Add i18n marker. + 2015-02-02 Joel Brobecker PR gdb/17856: diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c index fae67ee2dc9..fc0f1122ae9 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); -- 2.30.2