aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-01-11 15:10:03 +0000
committerMichael Snyder <msnyder@vmware.com>2011-01-11 15:10:03 +0000
commit9b20d036b6804e167f6b3a843661022ed46399bb (patch)
tree6f390f9b7338d77b0d1de99a5e97d770d61e2093 /gdb/mi
parentdae477fed8cdd8063a79042f2781a983be1c728d (diff)
downloadgdb-9b20d036b6804e167f6b3a843661022ed46399bb.zip
gdb-9b20d036b6804e167f6b3a843661022ed46399bb.tar.gz
gdb-9b20d036b6804e167f6b3a843661022ed46399bb.tar.bz2
2011-01-11 Michael Snyder <msnyder@vmware.com>
* arm-tdep.c: Internationalization. * c-lang.c: Ditto. * charset.c: Ditto. * fork-child.c: Ditto. * nto-procfs.c: Ditto. * ppc-sysv-tdep.c: Ditto. * procfs.c: Ditto. * remote-mips.c: Ditto. * remote.c: Ditto. * rs6000-nat.c: Ditto. * rs6000-tdep.c: Ditto. * target.c: Ditto. * valops.c: Ditto. * value.c: Ditto. * xml-support.c: Ditto. * mi/mi-cmd-break.c: Ditto. * mi/mi-cmd-var.c: Ditto. * mi/mi-interp.c: Ditto. * mi/mi-main.c: Ditto.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-cmd-break.c8
-rw-r--r--gdb/mi/mi-cmd-var.c4
-rw-r--r--gdb/mi/mi-interp.c9
-rw-r--r--gdb/mi/mi-main.c4
4 files changed, 13 insertions, 12 deletions
diff --git a/gdb/mi/mi-cmd-break.c b/gdb/mi/mi-cmd-break.c
index 245cf448..a04be98 100644
--- a/gdb/mi/mi-cmd-break.c
+++ b/gdb/mi/mi-cmd-break.c
@@ -300,19 +300,19 @@ mi_cmd_break_commands (char *command, char **argv, int argc)
struct breakpoint *b;
if (argc < 1)
- error ("USAGE: %s <BKPT> [<COMMAND> [<COMMAND>...]]", command);
+ error (_("USAGE: %s <BKPT> [<COMMAND> [<COMMAND>...]]"), command);
bnum = strtol (argv[0], &endptr, 0);
if (endptr == argv[0])
- error ("breakpoint number argument \"%s\" is not a number.",
+ error (_("breakpoint number argument \"%s\" is not a number."),
argv[0]);
else if (*endptr != '\0')
- error ("junk at the end of breakpoint number argument \"%s\".",
+ error (_("junk at the end of breakpoint number argument \"%s\"."),
argv[0]);
b = get_breakpoint (bnum);
if (b == NULL)
- error ("breakpoint %d not found.", bnum);
+ error (_("breakpoint %d not found."), bnum);
mi_command_line_array = argv;
mi_command_line_array_ptr = 1;
diff --git a/gdb/mi/mi-cmd-var.c b/gdb/mi/mi-cmd-var.c
index 8e0f410..cdb6aa1 100644
--- a/gdb/mi/mi-cmd-var.c
+++ b/gdb/mi/mi-cmd-var.c
@@ -271,12 +271,12 @@ mi_cmd_var_set_visualizer (char *command, char **argv, int argc)
struct varobj *var;
if (argc != 2)
- error ("Usage: NAME VISUALIZER_FUNCTION.");
+ error (_("Usage: NAME VISUALIZER_FUNCTION."));
var = varobj_get_handle (argv[0]);
if (var == NULL)
- error ("Variable object not found");
+ error (_("Variable object not found"));
varobj_set_visualizer (var, argv[1]);
}
diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c
index 6aaed3a..e42bffe 100644
--- a/gdb/mi/mi-interp.c
+++ b/gdb/mi/mi-interp.c
@@ -192,16 +192,17 @@ mi_cmd_interpreter_exec (char *command, char **argv, int argc)
struct cleanup *old_chain;
if (argc < 2)
- error ("mi_cmd_interpreter_exec: Usage: -interpreter-exec interp command");
+ error (_("mi_cmd_interpreter_exec: "
+ "Usage: -interpreter-exec interp command"));
interp_to_use = interp_lookup (argv[0]);
if (interp_to_use == NULL)
- error ("mi_cmd_interpreter_exec: could not find interpreter \"%s\"",
+ error (_("mi_cmd_interpreter_exec: could not find interpreter \"%s\""),
argv[0]);
if (!interp_exec_p (interp_to_use))
- error ("mi_cmd_interpreter_exec: interpreter \"%s\" "
- "does not support command execution",
+ error (_("mi_cmd_interpreter_exec: interpreter \"%s\" "
+ "does not support command execution"),
argv[0]);
/* Insert the MI out hooks, making sure to also call the interpreter's hooks
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 27f7865..91db352 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -420,7 +420,7 @@ void
mi_cmd_target_detach (char *command, char **argv, int argc)
{
if (argc != 0 && argc != 1)
- error ("Usage: -target-detach [pid | thread-group]");
+ error (_("Usage: -target-detach [pid | thread-group]"));
if (argc == 1)
{
@@ -471,7 +471,7 @@ mi_cmd_thread_select (char *command, char **argv, int argc)
char *mi_error_message;
if (argc != 1)
- error ("mi_cmd_thread_select: USAGE: threadnum.");
+ error (_("mi_cmd_thread_select: USAGE: threadnum."));
rc = gdb_thread_select (uiout, argv[0], &mi_error_message);