]> git.sur5r.net Git - openocd/blobdiff - src/target/breakpoints.h
gdb server: new feature, add stop reason in stop reply packet for gdb
[openocd] / src / target / breakpoints.h
index d9f4ba5d9720c249c3e7c61e6d00dac0bab58f4e..0246acd3db84dc1f17b5f146d046f7bab50e23ad 100644 (file)
@@ -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 */