Introducing generic hardware breakpoint handler interfaces
I'd just like to point out that not all hardware breakpoints involve addresses. For example:
The OLPC XO uses an x86 processor called the Geode. It supports a breakpoint that traps based on the opcode. For example, one could set it to trap on arpl instructions.
Quoted 6 lines · Albert Cahalan
I'd just like to point out that not all hardware breakpoints involve addresses. For example:
The OLPC XO uses an x86 processor called the Geode. It supports a breakpoint that traps based on the opcode. For example, one could set it to trap on arpl instructions.
We should be able to handle such unique requirements by introducing a new type of breakpoints (similar to HW_BREAKPOINT_EXECUTE, HW)BREAKPOINT_WRITE, etc).
Thanks,
K.Prasad