aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2015-02-02 07:54:02 +0400
committerJoel Brobecker <brobecker@adacore.com>2015-02-02 07:55:25 +0400
commit2c811c0f343426fe6b61dc89d3944a51b20a100a (patch)
tree64830906c4322d7cf6f334bbc6587d4a421f1269
parentb1eedac962b9d935ecb40725a614f6fa6cb0783a (diff)
downloadgdb-2c811c0f343426fe6b61dc89d3944a51b20a100a.zip
gdb-2c811c0f343426fe6b61dc89d3944a51b20a100a.tar.gz
gdb-2c811c0f343426fe6b61dc89d3944a51b20a100a.tar.bz2
Add missing i18n marker in dwarf2_evaluate_property warning message.
gdb/ChangeLog: * dwarf2loc.c (dwarf2_evaluate_property): Add i18n marker.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2loc.c2
2 files changed, 5 insertions, 1 deletions
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 <brobecker@adacore.com>
+ * dwarf2loc.c (dwarf2_evaluate_property): Add i18n marker.
+
+2015-02-02 Joel Brobecker <brobecker@adacore.com>
+
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);