Associated article: Hardware-Assisted Breakpoints
Published source code accompanying the article by Dmitri Leman in which he explains how to access debug registers on XScale-based CPUs from C/C++ applications. Also see XSCALE.ZIP.
Hardware-Assisted Breakpoints by Dmitri Leman Listing One ; SetDebugControlAndStatus writes (optionally) to ; Debug Control and Status Register (DCSR) ; and returns the original value of DCSR. ; parameters: ; r0: flags to be set or reset in DCSR. ; r1: mask - flags to be ...