Chapter 11: Predefined Macros
Return information about a breakpoint
int break_info (addr)
unsigned long *addr;
The break_info macro returns the address and type of a breakpoint if it is
called when a breakpoint is encountered. The macro returns the 32-bit
representation of the breakpoint address used by the debugger and the
following values for breakpoint type:
The cause of the breakpoint is unknown.
A breakpoint did not cause this macro call.
The breakpoint was caused by a read from the address.
The breakpoint was caused by a write to the address.
The breakpoint was caused by an access (read/write status
unknown) of the address.
The breakpoint was caused by an instruction breakpoint.