Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2767 → Rev 2766

/trunk/kernel/arch/amd64/src/debugger.c
292,8 → 292,7
/** Remove breakpoint from table */
int cmd_del_breakpoint(cmd_arg_t *argv)
{
unative_t bpno = argv->intval;
if (bpno > BKPOINTS_MAX) {
if (argv->intval < 0 || argv->intval > BKPOINTS_MAX) {
printf("Invalid breakpoint number.\n");
return 0;
}