Add missing gettext markup.
authorJoel Brobecker <brobecker@gnat.com>
Wed, 28 Jul 2010 18:04:19 +0000 (18:04 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 28 Jul 2010 18:04:19 +0000 (18:04 +0000)
gdb/ChangeLog:

        * remote.c (remote_download_tracepoint): Add missing gettext markup.
        * tracepoint.c (parse_static_tracepoint_marker_definition): Likewise.

gdb/ChangeLog
gdb/remote.c
gdb/tracepoint.c

index 630de2d3ea7ae8f79cb490d8154840d38afe8e43..e74823cc09602c02f66f97b7fc6426e3242e4894 100644 (file)
@@ -1,3 +1,8 @@
+2010-07-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * remote.c (remote_download_tracepoint): Add missing gettext markup.
+       * tracepoint.c (parse_static_tracepoint_marker_definition): Likewise.
+
 2010-07-28  Joel Brobecker  <brobecker@adacore.com>
 
        * breakpoint.c (breakpoint_re_set_one): Move call to set_language
index 71eee5d892abd1ee6ab04fa29fc5b44b9c61cc75..e42e57f33511c63bc98be101386f15d1fa67779a 100644 (file)
@@ -9746,7 +9746,7 @@ remote_download_tracepoint (struct breakpoint *t)
              if (target_static_tracepoint_marker_at (tpaddr, &marker))
                strcat (buf, ":S");
              else
-               error ("Static tracepoint not valid during download");
+               error (_("Static tracepoint not valid during download"));
            }
          else
            /* Fast tracepoints are functionally identical to regular
index 80be63eb7675db2badf1d28d842e0065e788d7ec..b8b9d8cef5c84540c2bbf4ae8e893e1aa1cefdff 100644 (file)
@@ -4128,7 +4128,7 @@ parse_static_tracepoint_marker_definition (char *line, char **pp,
 
   endp = strchr (p, ':');
   if (endp == NULL)
-    error ("bad marker definition: %s", line);
+    error (_("bad marker definition: %s"), line);
 
   marker->str_id = xmalloc (endp - p + 1);
   end = hex2bin (p, (gdb_byte *) marker->str_id, (endp - p + 1) / 2);