Rev 2787 | Rev 3424 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2787 | Rev 2924 | ||
|---|---|---|---|
| Line 105... | Line 105... | ||
| 105 | unhandled_exception(n, istate); |
105 | unhandled_exception(n, istate); |
| 106 | } |
106 | } |
| 107 | 107 | ||
| 108 | static void breakpoint_exception(int n, istate_t *istate) |
108 | static void breakpoint_exception(int n, istate_t *istate) |
| 109 | { |
109 | { |
| - | 110 | if (istate_from_uspace(istate)) { |
|
| - | 111 | /* userspace breakpoint */ |
|
| - | 112 | udebug_breakpoint_event(0); |
|
| - | 113 | return; |
|
| - | 114 | } |
|
| - | 115 | ||
| 110 | #ifdef CONFIG_DEBUG |
116 | #ifdef CONFIG_DEBUG |
| 111 | debugger_bpoint(istate); |
117 | debugger_bpoint(istate); |
| 112 | #else |
118 | #else |
| 113 | /* it is necessary to not re-execute BREAK instruction after |
119 | /* it is necessary to not re-execute BREAK instruction after |
| 114 | returning from Exception handler |
120 | returning from Exception handler |