OpenOCD
breakpoints.h File Reference
Include dependency graph for breakpoints.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  breakpoint
 
struct  watchpoint
 

Enumerations

enum  breakpoint_type { BKPT_HARD , BKPT_SOFT }
 
enum  watchpoint_rw { WPT_READ = 0 , WPT_WRITE = 1 , WPT_ACCESS = 2 }
 

Functions

int breakpoint_add (struct target *target, target_addr_t address, uint32_t length, enum breakpoint_type type)
 
void breakpoint_clear_target (struct target *target)
 
struct breakpointbreakpoint_find (struct target *target, target_addr_t address)
 
static void breakpoint_hw_set (struct breakpoint *breakpoint, unsigned int hw_number)
 
void breakpoint_remove (struct target *target, target_addr_t address)
 
void breakpoint_remove_all (struct target *target)
 
int context_breakpoint_add (struct target *target, uint32_t asid, uint32_t length, enum breakpoint_type type)
 
int hybrid_breakpoint_add (struct target *target, target_addr_t address, uint32_t asid, uint32_t length, enum breakpoint_type type)
 
int watchpoint_add (struct target *target, target_addr_t address, uint32_t length, enum watchpoint_rw rw, uint32_t value, uint32_t mask)
 
void watchpoint_clear_target (struct target *target)
 
int watchpoint_hit (struct target *target, enum watchpoint_rw *rw, target_addr_t *address)
 
void watchpoint_remove (struct target *target, target_addr_t address)
 
static void watchpoint_set (struct watchpoint *watchpoint, unsigned int number)
 

Enumeration Type Documentation

◆ breakpoint_type

Enumerator
BKPT_HARD 
BKPT_SOFT 

Definition at line 17 of file breakpoints.h.

◆ watchpoint_rw

Enumerator
WPT_READ 
WPT_WRITE 
WPT_ACCESS 

Definition at line 22 of file breakpoints.h.

Function Documentation

◆ breakpoint_add()

◆ breakpoint_clear_target()

void breakpoint_clear_target ( struct target target)

◆ breakpoint_find()

◆ breakpoint_hw_set()

◆ breakpoint_remove()

◆ breakpoint_remove_all()

void breakpoint_remove_all ( struct target target)

◆ context_breakpoint_add()

int context_breakpoint_add ( struct target target,
uint32_t  asid,
uint32_t  length,
enum breakpoint_type  type 
)

◆ hybrid_breakpoint_add()

int hybrid_breakpoint_add ( struct target target,
target_addr_t  address,
uint32_t  asid,
uint32_t  length,
enum breakpoint_type  type 
)

◆ watchpoint_add()

int watchpoint_add ( struct target target,
target_addr_t  address,
uint32_t  length,
enum watchpoint_rw  rw,
uint32_t  value,
uint32_t  mask 
)

◆ watchpoint_clear_target()

void watchpoint_clear_target ( struct target target)

◆ watchpoint_hit()

int watchpoint_hit ( struct target target,
enum watchpoint_rw rw,
target_addr_t address 
)

◆ watchpoint_remove()

◆ watchpoint_set()