cappuccino/ctrl: add support for sw breakpoints

This essentially is a direct copy from what espresso does in its
ctrl module.