摘要 |
A data processing apparatus, method and watch point unit are disclosed. The data processing apparatus comprises: a processor core operable to process a sequence of instructions; and a watch point unit operable to receive an indication of each of the sequence of instructions being processed by the processor core, the watch point unit being operable to determine whether the indication of each of the sequence of instructions correlates with at least one watch point condition and, if so, the watch point unit being further operable to provide an indication that the at least one watch point condition occurred. Accordingly, watch point conditions can be set based on the instructions themselves rather than being based on a likely effect of that instruction. This enables a wider range of conditions of interest to be defined which expands the usefulness of debugging. Also, the determination of when the conditions of interest occur can be more precisely made, which significantly reduces the effort required when analyzing events which may or may not have caused an unexpected operation to occur.
|