aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-07-28 18:04:19 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-07-28 18:04:19 +0000
commit74232302aaa9ae6fe59eb7cd6e7e4202ccb5dd31 (patch)
tree980679b037d714501f9c68393cd43ae36dbdd898 /gdb
parent385d04dc77d045a59c58f9c709ba5c7295d0bf9d (diff)
downloadgdb-74232302aaa9ae6fe59eb7cd6e7e4202ccb5dd31.zip
gdb-74232302aaa9ae6fe59eb7cd6e7e4202ccb5dd31.tar.gz
gdb-74232302aaa9ae6fe59eb7cd6e7e4202ccb5dd31.tar.bz2
Add missing gettext markup.
gdb/ChangeLog: * remote.c (remote_download_tracepoint): Add missing gettext markup. * tracepoint.c (parse_static_tracepoint_marker_definition): Likewise.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote.c2
-rw-r--r--gdb/tracepoint.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 630de2d..e74823c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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
down, just before the block that parse the breakpoint addr_string.
diff --git a/gdb/remote.c b/gdb/remote.c
index 71eee5d..e42e57f 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 80be63e..b8b9d8c 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);