From 03e8f264f4c66baec9b86778d3488b23e0a8c0b6 Mon Sep 17 00:00:00 2001 From: drath Date: Tue, 7 Nov 2006 10:54:19 +0000 Subject: - 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 --- src/target/target.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/target/target.h') 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 */ -- cgit v1.2.3