EasyManua.ls Logo

Intel i960 - Breakpoints Inside Interrupt Handlers

Intel i960
347 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Caveats
12-15
12
Breakpoints Inside Interrupt Handlers
If your application uses interrupts extensively, when debugging interrupt
handlers with gdb960, breakpoints set inside the handlers may not work
and may result in operation faults.
Problem:
When the i960 processor invokes an interrupt handler, it first disables
tracing by saving, then clearing, the state of the trace-enable bit and the
trace-fault-pending flag. On return from the interrupt handler, the
processor restores the process-controls register to its state prior to the
interrupt. This restores the state of the trace-enable bit and the
trace-fault-pending flag; therefore, standard interrupt handlers cannot
contain breakpoints.
Solution:
To set breakpoints inside an interrupt handler, you can modify that
handler, probably in the assembler wrapper, adding code to change the
state of the trace-enable bit.

Table of Contents

Related product manuals