From 43011e5218454a59f78d74380b5072fa5e564645 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Tue, 22 May 2012 08:45:56 +0000 Subject: [PATCH] * tracepoint.c (start_tracing): Add missing i18n markup. (stop_tracing, set_trace_user): Ditto. (set_trace_notes, set_trace_stop_notes): Ditto. --- gdb/ChangeLog | 6 ++++++ gdb/tracepoint.c | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c12d3fd5c2f..8b594741eec 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2012-05-22 Pierre Muller + + * tracepoint.c (start_tracing): Add missing i18n markup. + (stop_tracing, set_trace_user): Ditto. + (set_trace_notes, set_trace_stop_notes): Ditto. + 2012-05-21 Tom Tromey PR c++/7173: diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index b4269c62006..63f66c7b73f 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -1805,7 +1805,7 @@ start_tracing (char *notes) ret = target_set_trace_notes (trace_user, notes, NULL); if (!ret && (trace_user || notes)) - warning ("Target does not support trace user/notes, info ignored"); + warning (_("Target does not support trace user/notes, info ignored")); /* Now insert traps and begin collecting data. */ target_trace_start (); @@ -1891,7 +1891,7 @@ stop_tracing (char *note) ret = target_set_trace_notes (NULL, NULL, note); if (!ret && note) - warning ("Target does not support trace notes, note ignored"); + warning (_("Target does not support trace notes, note ignored")); /* Should change in response to reply? */ current_trace_status ()->running = 0; @@ -3201,7 +3201,7 @@ set_trace_user (char *args, int from_tty, ret = target_set_trace_notes (trace_user, NULL, NULL); if (!ret) - warning ("Target does not support trace notes, user ignored"); + warning (_("Target does not support trace notes, user ignored")); } static void @@ -3213,7 +3213,7 @@ set_trace_notes (char *args, int from_tty, ret = target_set_trace_notes (NULL, trace_notes, NULL); if (!ret) - warning ("Target does not support trace notes, note ignored"); + warning (_("Target does not support trace notes, note ignored")); } static void @@ -3225,7 +3225,7 @@ set_trace_stop_notes (char *args, int from_tty, ret = target_set_trace_notes (NULL, NULL, trace_stop_notes); if (!ret) - warning ("Target does not support trace notes, stop note ignored"); + warning (_("Target does not support trace notes, stop note ignored")); } /* Convert the memory pointed to by mem into hex, placing result in buf. -- 2.30.2