126
January, 2004
Developer’s Manual
Intel XScale® Core
Developer’s Manual
Software Debug
9.5
Debug Exceptions
A debug exception causes the processor to re-direct execution to a debug event handling routine.
The Elkhart debug architecture defines the following debug exceptions:
•
instruction breakpoint
•
data breakpoint
•
software breakpoint
•
external debug break
•
exception vector trap
•
trace-buffer full break
•
SOC debug break
When a debug exception occurs, the processor’s actions depend on whether the debug unit is
configured for Halt Mode or Monitor Mode.
Table 9-2
shows the priority of debug exceptions relative to other processor exceptions.
Table 9-2.
Event Priority
Event
Priority
Reset
1 (highest)
Vector Trap
2
data abort (precise)
3
data bkpt
4
data abort (imprecise)
5
external debug break, trace-buffer full,
SOC debug break
6
FIQ
7
IRQ
8
instruction breakpoint
9
pre-fetch abort
10
undef, SWI, software Bkpt
11