OSDN Git Service

2005-02-10 Andrew Cagney <cagney@gnu.org>
[pf3gnuchains/pf3gnuchains4x.git] / gdb / mi / mi-cmd-break.c
index 6406084..4b39625 100644 (file)
@@ -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;
 }