aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-12-23 04:30:39 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-12-23 04:30:39 +0000
commit81ec3cceb2c6bf56de3ff0e95b04ffa584524d56 (patch)
tree960fc998acc20a0c39fb352a454ae71754255452
parent0e8708c7b0661e80a32e87694915d081ec36ed9a (diff)
downloadgdb-81ec3cceb2c6bf56de3ff0e95b04ffa584524d56.zip
gdb-81ec3cceb2c6bf56de3ff0e95b04ffa584524d56.tar.gz
gdb-81ec3cceb2c6bf56de3ff0e95b04ffa584524d56.tar.bz2
Add missing _() marker in error message.
gdb/ChangeLog: * mi/mi-main.c (mi_cmd_remove_inferior): Use _() marker for error message. Change spelling of "can not" into "cannot".
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/mi/mi-main.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 24db449..4504f11 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-23 Joel Brobecker <brobecker@adacore.com>
+
+ * mi/mi-main.c (mi_cmd_remove_inferior): Use _() marker for error
+ message. Change spelling of "can not" into "cannot".
+
2010-12-23 Yao Qi <yao@codesourcery.com>
* arm-tdep.c (arm_gdbarch_init): Remove invoke to
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 6f66e89..f713412 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -1773,7 +1773,7 @@ mi_cmd_remove_inferior (char *command, char **argv, int argc)
error ("the specified thread group does not exist");
if (inf->pid != 0)
- error ("can not remove an active inferior");
+ error (_("cannot remove an active inferior"));
if (inf == current_inferior ())
{