summaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 08:42:06 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:11 -0800
commit72b421418f315cb54a01ba4d249082f989d5154a (patch)
treee292d768a61b3ccbc7fe5448dae938ab7e8e4170 /src/target/target.h
parente7f65c5a116802c4e510fe212b26e9a020de0b3e (diff)
downloadopenocd+libswd-72b421418f315cb54a01ba4d249082f989d5154a.tar.gz
openocd+libswd-72b421418f315cb54a01ba4d249082f989d5154a.tar.bz2
openocd+libswd-72b421418f315cb54a01ba4d249082f989d5154a.tar.xz
openocd+libswd-72b421418f315cb54a01ba4d249082f989d5154a.zip
watchpoint_t -> struct watchpoint
Remove misleading typedef and redundant suffix from struct watchpoint.
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/target.h b/src/target/target.h
index 1e5639d6..064a954a 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -156,7 +156,7 @@ typedef struct target_s
enum target_state state; /* the current backend-state (running, halted, ...) */
struct reg_cache_s *reg_cache; /* the first register cache of the target (core regs) */
struct breakpoint_s *breakpoints; /* list of breakpoints */
- struct watchpoint_s *watchpoints; /* list of watchpoints */
+ struct watchpoint *watchpoints; /* list of watchpoints */
struct trace_s *trace_info; /* generic trace information */
struct debug_msg_receiver_s *dbgmsg;/* list of debug message receivers */
uint32_t dbg_msg_enabled; /* debug message status */
@@ -330,14 +330,14 @@ int target_remove_breakpoint(struct target_s *target,
* This routine is a wrapper for target->type->add_watchpoint.
*/
int target_add_watchpoint(struct target_s *target,
- struct watchpoint_s *watchpoint);
+ struct watchpoint *watchpoint);
/**
* Remove the @a watchpoint for @a target.
*
* This routine is a wrapper for target->type->remove_watchpoint.
*/
int target_remove_watchpoint(struct target_s *target,
- struct watchpoint_s *watchpoint);
+ struct watchpoint *watchpoint);
/**
* Obtain the registers for GDB.