Skip to contentSkip to conversation

Introducing generic hardware breakpoint handler interfaces

RFC PATCH Albert Cahalan 2 participants 2 messages Oct 20, 2008

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
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