X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Fbreakpoints.h;h=18ad8d3cc97a2d4e99f7688b7fe06e6a6412a8ce;hb=809a796209b5660bd4b968a48794211871f686b9;hp=7eba39aa3c1abaa04f9be136561500656107a541;hpb=8b4e882a1630d63bbc9840fa3f968e36b6ac3702;p=openocd.git diff --git a/src/target/breakpoints.h b/src/target/breakpoints.h index 7eba39aa3c..18ad8d3cc9 100644 --- a/src/target/breakpoints.h +++ b/src/target/breakpoints.h @@ -60,11 +60,13 @@ typedef struct watchpoint_s struct watchpoint_s *next; } watchpoint_t; +extern void breakpoint_clear_target(struct target_s *target); extern int breakpoint_add(struct target_s *target, u32 address, u32 length, enum breakpoint_type type); extern int breakpoint_remove(struct target_s *target, u32 address); extern breakpoint_t* breakpoint_find(struct target_s *target, u32 address); extern int watchpoint_add(struct target_s *target, u32 address, u32 length, enum watchpoint_rw rw, u32 value, u32 mask); extern int watchpoint_remove(struct target_s *target, u32 address); +extern void watchpoint_clear_target(struct target_s *target); #endif /* BREAKPOINTS_H */