while (1)
{
- int opt = mi_getopt ("mi_cmd_break_insert", argc, argv,
+ int opt = mi_getopt ("-break-insert", argc, argv,
opts, &optind, &optarg);
if (opt < 0)
break;
}
if (optind >= argc)
- error (_("mi_cmd_break_insert: Missing <location>"));
+ error (_("-break-insert: Missing <location>"));
if (optind < argc - 1)
- error (_("mi_cmd_break_insert: Garbage following <location>"));
+ error (_("-break-insert: Garbage following <location>"));
address = argv[optind];
/* Now we have what we need, let's insert the breakpoint! */
while (1)
{
- int opt = mi_getopt ("mi_cmd_break_watch", argc, argv,
+ int opt = mi_getopt ("-break-watch", argc, argv,
opts, &optind, &optarg);
if (opt < 0)
}
}
if (optind >= argc)
- error (_("mi_cmd_break_watch: Missing <expression>"));
+ error (_("-break-watch: Missing <expression>"));
if (optind < argc - 1)
- error (_("mi_cmd_break_watch: Garbage following <expression>"));
+ error (_("-break-watch: Garbage following <expression>"));
expr = argv[optind];
/* Now we have what we need, let's insert the watchpoint! */
awatch_command_wrapper (expr, FROM_TTY, 0);
break;
default:
- error (_("mi_cmd_break_watch: Unknown watchpoint type."));
+ error (_("-break-watch: Unknown watchpoint type."));
}
}