X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fbreakpoints.h;h=0246acd3db84dc1f17b5f146d046f7bab50e23ad;hp=d9f4ba5d9720c249c3e7c61e6d00dac0bab58f4e;hb=80d412bafc03ce9a0418a2b98de2668b0f8de0e6;hpb=d979d78e97786667d168ba183c9fc60c622d29c1;ds=sidebyside diff --git a/src/target/breakpoints.h b/src/target/breakpoints.h index d9f4ba5d97..0246acd3db 100644 --- a/src/target/breakpoints.h +++ b/src/target/breakpoints.h @@ -72,4 +72,7 @@ int watchpoint_add(struct target *target, enum watchpoint_rw rw, uint32_t value, uint32_t mask); void watchpoint_remove(struct target *target, uint32_t address); +/* report type and address of just hit watchpoint */ +int watchpoint_hit(struct target *target, enum watchpoint_rw *rw, uint32_t *address); + #endif /* BREAKPOINTS_H */