X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fbreakpoints.h;h=0246acd3db84dc1f17b5f146d046f7bab50e23ad;hp=d9f4ba5d9720c249c3e7c61e6d00dac0bab58f4e;hb=e77b7447f7b30d70961e5bee45400f70baeb16fc;hpb=08d4411b59dd8bd0e7d8009003b71d23acbf6eee 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 */