public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* New ARI warning Fri Jan 30 01:56:03 UTC 2015
@ 2015-01-30  3:37 GDB Administrator
  2015-02-02  3:58 ` FYI: Add missing i18n marker in dwarf2_evaluate_property warning message Joel Brobecker
  0 siblings, 1 reply; 2+ messages in thread
From: GDB Administrator @ 2015-01-30  3:37 UTC (permalink / raw)
  To: gdb-patches

151a152
> gdb/dwarf2loc.c:2527: gettext: _ markup: All messages should be marked up with _.
gdb/dwarf2loc.c:2527:	  error ("cannot find reference address for offset property");
160a162
> gdb/dwarf2read.c:12282: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/dwarf2read.c:12282:  else if ((major = producer_is_gcc (cu->producer, &minor)) > 0)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* FYI: Add missing i18n marker in dwarf2_evaluate_property warning message.
  2015-01-30  3:37 New ARI warning Fri Jan 30 01:56:03 UTC 2015 GDB Administrator
@ 2015-02-02  3:58 ` Joel Brobecker
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Brobecker @ 2015-02-02  3:58 UTC (permalink / raw)
  To: gdb-patches

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  <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);
-- 
1.9.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-02  3:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-30  3:37 New ARI warning Fri Jan 30 01:56:03 UTC 2015 GDB Administrator
2015-02-02  3:58 ` FYI: Add missing i18n marker in dwarf2_evaluate_property warning message Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).