From: Joel Brobecker Date: Wed, 28 Jul 2010 18:04:19 +0000 (+0000) Subject: Add missing gettext markup. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74232302aaa9ae6fe59eb7cd6e7e4202ccb5dd31;p=binutils-gdb.git Add missing gettext markup. gdb/ChangeLog: * remote.c (remote_download_tracepoint): Add missing gettext markup. * tracepoint.c (parse_static_tracepoint_marker_definition): Likewise. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 630de2d3ea7..e74823cc096 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-07-28 Joel Brobecker + + * remote.c (remote_download_tracepoint): Add missing gettext markup. + * tracepoint.c (parse_static_tracepoint_marker_definition): Likewise. + 2010-07-28 Joel Brobecker * breakpoint.c (breakpoint_re_set_one): Move call to set_language diff --git a/gdb/remote.c b/gdb/remote.c index 71eee5d892a..e42e57f3351 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -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 diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 80be63eb767..b8b9d8cef5c 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -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);