]> git.gag.com Git - fw/openocd/blobdiff - src/target/breakpoints.h
target: Rename 'linked_BRP' to 'linked_brp'
[fw/openocd] / src / target / breakpoints.h
index 51bd05abd83c2be21145396a418b5a54e1fcaf56..b4a3511d20b806f2be337e40e7870311b7ee23c7 100644 (file)
@@ -21,6 +21,8 @@
 
 #include <stdint.h>
 
+#include "helper/types.h"
+
 struct target;
 
 enum breakpoint_type {
@@ -41,7 +43,7 @@ struct breakpoint {
        uint8_t *orig_instr;
        struct breakpoint *next;
        uint32_t unique_id;
-       int linked_BRP;
+       int linked_brp;
 };
 
 struct watchpoint {
@@ -63,6 +65,7 @@ int context_breakpoint_add(struct target *target,
 int hybrid_breakpoint_add(struct target *target,
                target_addr_t address, uint32_t asid, uint32_t length, enum breakpoint_type type);
 void breakpoint_remove(struct target *target, target_addr_t address);
+void breakpoint_remove_all(struct target *target);
 
 struct breakpoint *breakpoint_find(struct target *target, target_addr_t address);