8 #ifndef OPENOCD_TARGET_BREAKPOINTS_H
9 #define OPENOCD_TARGET_BREAKPOINTS_H
39 #define WATCHPOINT_IGNORE_DATA_VALUE_MASK (~(uint64_t)0)
89 #define ERROR_BREAKPOINT_NOT_FOUND (-1600)
90 #define ERROR_WATCHPOINT_NOT_FOUND (-1601)
int watchpoint_add(struct target *target, target_addr_t address, unsigned int length, enum watchpoint_rw rw, uint64_t value, uint64_t mask)
int breakpoint_remove(struct target *target, target_addr_t address)
int watchpoint_hit(struct target *target, enum watchpoint_rw *rw, target_addr_t *address)
int watchpoint_remove(struct target *target, target_addr_t address)
int breakpoint_add(struct target *target, target_addr_t address, unsigned int length, enum breakpoint_type type)
int watchpoint_clear_target(struct target *target)
int context_breakpoint_add(struct target *target, uint32_t asid, unsigned int length, enum breakpoint_type type)
static void watchpoint_set(struct watchpoint *watchpoint, unsigned int number)
int breakpoint_clear_target(struct target *target)
static void breakpoint_hw_set(struct breakpoint *breakpoint, unsigned int hw_number)
int watchpoint_remove_all(struct target *target)
int breakpoint_remove_all(struct target *target)
int hybrid_breakpoint_add(struct target *target, target_addr_t address, uint32_t asid, unsigned int length, enum breakpoint_type type)
struct breakpoint * breakpoint_find(struct target *target, target_addr_t address)
enum esirisc_reg_num number
enum breakpoint_type type