Rev 4337 | Rev 4343 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4337 | Rev 4339 | ||
---|---|---|---|
Line 314... | Line 314... | ||
314 | uintptr_t fireaddr = istate->epc; |
314 | uintptr_t fireaddr = istate->epc; |
315 | int i; |
315 | int i; |
316 | 316 | ||
317 | /* test branch delay slot */ |
317 | /* test branch delay slot */ |
318 | if (cp0_cause_read() & 0x80000000) |
318 | if (cp0_cause_read() & 0x80000000) |
319 | panic("Breakpoint in branch delay slot not supported.\n"); |
319 | panic("Breakpoint in branch delay slot not supported."); |
320 | 320 | ||
321 | spinlock_lock(&bkpoint_lock); |
321 | spinlock_lock(&bkpoint_lock); |
322 | for (i = 0; i < BKPOINTS_MAX; i++) { |
322 | for (i = 0; i < BKPOINTS_MAX; i++) { |
323 | /* Normal breakpoint */ |
323 | /* Normal breakpoint */ |
324 | if (fireaddr == breakpoints[i].address && |
324 | if (fireaddr == breakpoints[i].address && |