hardware breakpoint resources, return EBUSY.
(go32_handle_nonaligned_watchpoint): If the argument WHAT is not
one of the enumerated values, return EINVAL.
2000-04-12 Eli Zaretskii <eliz@is.elta.co.il>
+ * go32-nat.c (go32_insert_hw_breakpoint): When there are no more
+ hardware breakpoint resources, return EBUSY.
+ (go32_handle_nonaligned_watchpoint): If the argument WHAT is not
+ one of the enumerated values, return EINVAL.
+
+2000-04-12 Eli Zaretskii <eliz@is.elta.co.il>
+
* README: Mention special build instructions for DJGPP.
* NEWS: Update with FP features on x87 platforms, and
DJGPP-related changes.
else if (what == wp_count)
rv++;
else
- status = -1;
+ status = EINVAL;
/* We keep the loop going even after a failure, because some of
the other aligned watchpoints might still succeed, e.g. if
they watch addresses that are already watched, and thus just
}
SHOW_DR (insert_hw, 0);
- return i < 4 ? 0 : -1;
+ return i < 4 ? 0 : EBUSY;
}
/* Put the device open on handle FD into either raw or cooked