aboutsummaryrefslogtreecommitdiff
path: root/gdb/expprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/expprint.c')
-rw-r--r--gdb/expprint.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/expprint.c b/gdb/expprint.c
index 3131044..13f7c8c 100644
--- a/gdb/expprint.c
+++ b/gdb/expprint.c
@@ -205,7 +205,7 @@ print_subexp_standard (struct expression *exp, int *pos,
if (0 == target_read_string (exp->elts[pc + 1].longconst,
&selector, 1024, NULL))
{
- error ("bad selector");
+ error (_("bad selector"));
return;
}
if (nargs)
@@ -418,7 +418,7 @@ print_subexp_standard (struct expression *exp, int *pos,
if (op_print_tab[tem].opcode != opcode)
/* Not found; don't try to keep going because we don't know how
to interpret further elements. */
- error ("Invalid expression");
+ error (_("Invalid expression"));
break;
/* C++ ops */
@@ -462,7 +462,7 @@ print_subexp_standard (struct expression *exp, int *pos,
case BINOP_INCL:
case BINOP_EXCL:
- error ("print_subexp: Not implemented.");
+ error (_("print_subexp: Not implemented."));
/* Default ops */
@@ -480,7 +480,7 @@ print_subexp_standard (struct expression *exp, int *pos,
/* Not found; don't try to keep going because we don't know how
to interpret further elements. For example, this happens
if opcode is OP_TYPE. */
- error ("Invalid expression");
+ error (_("Invalid expression"));
}
/* Note that PREC_BUILTIN will always emit parentheses. */