Hi.

The patch is about translation of titles in -fdbg-cnt-list table.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.

Ready to be installed?
Thanks,
Martin

gcc/ChangeLog:

2019-11-27  Martin Liska  <mli...@suse.cz>

        PR debug/46558
        * dbgcnt.c (dbg_cnt_list_all_counters): Mark table
        headers for translation.
---
 gcc/dbgcnt.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


diff --git a/gcc/dbgcnt.c b/gcc/dbgcnt.c
index f58ef8fd00e..2b6b8801c32 100644
--- a/gcc/dbgcnt.c
+++ b/gcc/dbgcnt.c
@@ -25,6 +25,7 @@ See dbgcnt.def for usage information.  */
 #include "diagnostic-core.h"
 #include "dumpfile.h"
 #include "selftest.h"
+#include "intl.h"
 
 #include "dbgcnt.h"
 
@@ -222,7 +223,7 @@ void
 dbg_cnt_list_all_counters (void)
 {
   int i;
-  printf ("  %-30s %s\n", "counter name", "closed intervals");
+  printf ("  %-30s %s\n", G_("counter name"), G_("closed intervals"));
   printf ("-----------------------------------------------------------------\n");
   for (i = 0; i < debug_counter_number_of_counters; i++)
     {

Reply via email to