#define OPENOCD_TARGET_BREAKPOINTS_H
#include <stdint.h>
#include "helper/types.h"
target
breakpoint_type
BKPT_HARD
BKPT_SOFT
watchpoint_rw
WPT_READ
WPT_WRITE
WPT_ACCESS
breakpoint
address
asid
length
type
is_set
number
orig_instr
next
unique_id
linked_brp
#define WATCHPOINT_IGNORE_DATA_VALUE_MASK
watchpoint
address
length
mask
value
rw
is_set
number
next
unique_id
breakpoint_clear_target(struct target *);
breakpoint_add(struct target *, target_addr_t, unsigned int, enum breakpoint_type);
context_breakpoint_add(struct target *, uint32_t, unsigned int, enum breakpoint_type);
hybrid_breakpoint_add(struct target *, target_addr_t, uint32_t, unsigned int, enum breakpoint_type);
breakpoint_remove(struct target *, target_addr_t);
breakpoint_remove_all(struct target *);
breakpoint_find(struct target *, target_addr_t);
breakpoint_hw_set(struct breakpoint *, unsigned int)
watchpoint_clear_target(struct target *);
watchpoint_add(struct target *, target_addr_t, unsigned int, enum watchpoint_rw, uint64_t, uint64_t);
watchpoint_remove(struct target *, target_addr_t);
watchpoint_remove_all(struct target *);
watchpoint_hit(struct target *, enum watchpoint_rw *, target_addr_t *);
watchpoint_set(struct watchpoint *, unsigned int)
#define ERROR_BREAKPOINT_NOT_FOUND
#define ERROR_WATCHPOINT_NOT_FOUND