aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-cmd-break.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mi/mi-cmd-break.c')
-rw-r--r--gdb/mi/mi-cmd-break.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/mi/mi-cmd-break.c b/gdb/mi/mi-cmd-break.c
index 6406084..4b39625 100644
--- a/gdb/mi/mi-cmd-break.c
+++ b/gdb/mi/mi-cmd-break.c
@@ -128,9 +128,9 @@ mi_cmd_break_insert (char *command, char **argv, int argc)
}
if (optind >= argc)
- error ("mi_cmd_break_insert: Missing <location>");
+ error (_("mi_cmd_break_insert: Missing <location>"));
if (optind < argc - 1)
- error ("mi_cmd_break_insert: Garbage following <location>");
+ error (_("mi_cmd_break_insert: Garbage following <location>"));
address = argv[optind];
/* Now we have what we need, let's insert the breakpoint! */
@@ -152,7 +152,7 @@ mi_cmd_break_insert (char *command, char **argv, int argc)
#if 0
case REGEXP_BP:
if (temp_p)
- error ("mi_cmd_break_insert: Unsupported tempoary regexp breakpoint");
+ error (_("mi_cmd_break_insert: Unsupported tempoary regexp breakpoint"));
else
rbreak_command_wrapper (address, FROM_TTY);
return MI_CMD_DONE;
@@ -218,9 +218,9 @@ mi_cmd_break_watch (char *command, char **argv, int argc)
}
}
if (optind >= argc)
- error ("mi_cmd_break_watch: Missing <expression>");
+ error (_("mi_cmd_break_watch: Missing <expression>"));
if (optind < argc - 1)
- error ("mi_cmd_break_watch: Garbage following <expression>");
+ error (_("mi_cmd_break_watch: Garbage following <expression>"));
expr = argv[optind];
/* Now we have what we need, let's insert the watchpoint! */
@@ -236,7 +236,7 @@ mi_cmd_break_watch (char *command, char **argv, int argc)
awatch_command_wrapper (expr, FROM_TTY);
break;
default:
- error ("mi_cmd_break_watch: Unknown watchpoint type.");
+ error (_("mi_cmd_break_watch: Unknown watchpoint type."));
}
return MI_CMD_DONE;
}