Rev 2898 | Rev 2901 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2898 | Rev 2899 | ||
---|---|---|---|
Line 176... | Line 176... | ||
176 | ipl = interrupts_disable(); |
176 | ipl = interrupts_disable(); |
177 | spinlock_lock(&THREAD->debug_lock); |
177 | spinlock_lock(&THREAD->debug_lock); |
178 | 178 | ||
179 | /* Must only generate events when in debugging session and have go */ |
179 | /* Must only generate events when in debugging session and have go */ |
180 | if (THREAD->debug_active != true || |
180 | if (THREAD->debug_active != true || |
181 | THREAD->debug_stop == true) { |
181 | THREAD->debug_stop == true || |
- | 182 | (TASK->debug_evmask & UDEBUG_EM_SYSCALL) == 0) { |
|
182 | spinlock_unlock(&THREAD->debug_lock); |
183 | spinlock_unlock(&THREAD->debug_lock); |
183 | interrupts_restore(ipl); |
184 | interrupts_restore(ipl); |
184 | return; |
185 | return; |
185 | } |
186 | } |
186 | 187 |