summaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
authordrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2006-11-07 10:54:19 +0000
committerdrath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2006-11-07 10:54:19 +0000
commit03e8f264f4c66baec9b86778d3488b23e0a8c0b6 (patch)
treec7fb8e62c0461f3832519ed30b72782e251b9b49 /src/target/target.h
parent83440065c00cce9d36f23182b439d7bf2306cfb2 (diff)
downloadopenocd_libswd-03e8f264f4c66baec9b86778d3488b23e0a8c0b6.tar.gz
openocd_libswd-03e8f264f4c66baec9b86778d3488b23e0a8c0b6.tar.bz2
openocd_libswd-03e8f264f4c66baec9b86778d3488b23e0a8c0b6.tar.xz
openocd_libswd-03e8f264f4c66baec9b86778d3488b23e0a8c0b6.zip
- added support for the oocd-link (http://www.joernonline.de/dw/doku.php?id=en:projects:oocdlink)
- fixed breakpoint handling (this changes the target_t interface) git-svn-id: svn://svn.berlios.de/openocd/trunk@113 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/target.h b/src/target/target.h
index 72018671..04157fde 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -125,9 +125,9 @@ typedef struct target_type_s
/* target break-/watchpoint control
* rw: 0 = write, 1 = read, 2 = access
*/
- int (*add_breakpoint)(struct target_s *target, u32 address, u32 length, enum breakpoint_type type);
+ int (*add_breakpoint)(struct target_s *target, breakpoint_t *breakpoint);
int (*remove_breakpoint)(struct target_s *target, breakpoint_t *breakpoint);
- int (*add_watchpoint)(struct target_s *target, u32 address, u32 length, enum watchpoint_rw rw);
+ int (*add_watchpoint)(struct target_s *target, watchpoint_t *watchpoint);
int (*remove_watchpoint)(struct target_s *target, watchpoint_t *watchpoint);
/* target algorithm support */