summaryrefslogtreecommitdiff
path: root/src/target/breakpoints.h
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-13 06:52:05 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-13 06:52:05 +0000
commit0a3b6213bbb8b9b3edaec944610eec48d213a81e (patch)
tree5223b9fca86dd9bad660deca5831c7e9cfc83c15 /src/target/breakpoints.h
parent809a796209b5660bd4b968a48794211871f686b9 (diff)
downloadopenocd+libswd-0a3b6213bbb8b9b3edaec944610eec48d213a81e.tar.gz
openocd+libswd-0a3b6213bbb8b9b3edaec944610eec48d213a81e.tar.bz2
openocd+libswd-0a3b6213bbb8b9b3edaec944610eec48d213a81e.tar.xz
openocd+libswd-0a3b6213bbb8b9b3edaec944610eec48d213a81e.zip
Laurentiu Cocanu <laurentiu.cocanu@zylin.com> - Added additional error checks mostly to src/target/target.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@1041 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/breakpoints.h')
-rw-r--r--src/target/breakpoints.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/breakpoints.h b/src/target/breakpoints.h
index 18ad8d3c..2ded1f02 100644
--- a/src/target/breakpoints.h
+++ b/src/target/breakpoints.h
@@ -62,10 +62,10 @@ typedef struct watchpoint_s
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 void 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_remove(struct target_s *target, u32 address);
extern void watchpoint_clear_target(struct target_s *target);
#endif /* BREAKPOINTS_H */