aboutsummaryrefslogtreecommitdiff
path: root/src/target/breakpoints.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/breakpoints.h')
-rw-r--r--src/target/breakpoints.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/target/breakpoints.h b/src/target/breakpoints.h
index d9f4ba5d..0246acd3 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 */