diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-13 15:05:15 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-13 15:05:15 +0000 |
commit | a71ca65c53b4854e11363b16aea0db3ca149b5a8 (patch) | |
tree | d28d2c0b038cfc8a0bd646517444989cc558c102 /src/target/breakpoints.h | |
parent | fbb46cfaff7c0d105ebe56956c343493a25381d6 (diff) |
Clear all dangling breakpoints upon GDB connection.
git-svn-id: svn://svn.berlios.de/openocd/trunk@912 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/breakpoints.h')
-rw-r--r-- | src/target/breakpoints.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/breakpoints.h b/src/target/breakpoints.h index 7eba39aa..18ad8d3c 100644 --- a/src/target/breakpoints.h +++ b/src/target/breakpoints.h @@ -60,11 +60,13 @@ typedef struct watchpoint_s struct watchpoint_s *next; } watchpoint_t; +extern void breakpoint_clear_target(struct target_s *target); extern int breakpoint_add(struct target_s *target, u32 address, u32 length, enum breakpoint_type type); extern int breakpoint_remove(struct target_s *target, u32 address); extern breakpoint_t* breakpoint_find(struct target_s *target, u32 address); extern int watchpoint_add(struct target_s *target, u32 address, u32 length, enum watchpoint_rw rw, u32 value, u32 mask); extern int watchpoint_remove(struct target_s *target, u32 address); +extern void watchpoint_clear_target(struct target_s *target); #endif /* BREAKPOINTS_H */ |