summaryrefslogtreecommitdiff
path: root/src/target/target_type.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 09:15:32 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:13 -0800
commit53c05c8b1d5718b2acf5dbe0eb517dd427340041 (patch)
tree4ec75a7d039d0f8bb07cde0251452ae81fb3cce8 /src/target/target_type.h
parent1e51cf049cfed3bc42a748d848210f8e4b472282 (diff)
downloadopenocd+libswd-53c05c8b1d5718b2acf5dbe0eb517dd427340041.tar.gz
openocd+libswd-53c05c8b1d5718b2acf5dbe0eb517dd427340041.tar.bz2
openocd+libswd-53c05c8b1d5718b2acf5dbe0eb517dd427340041.tar.xz
openocd+libswd-53c05c8b1d5718b2acf5dbe0eb517dd427340041.zip
breakpoint_t -> struct breakpoint
Remove misleading typedef and redundant suffix from struct breakpoint.
Diffstat (limited to 'src/target/target_type.h')
-rw-r--r--src/target/target_type.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/target_type.h b/src/target/target_type.h
index 21d7295d..33288797 100644
--- a/src/target/target_type.h
+++ b/src/target/target_type.h
@@ -131,12 +131,12 @@ struct target_type_s
*
* Upon GDB connection all breakpoints/watchpoints are cleared.
*/
- int (*add_breakpoint)(struct target_s *target, breakpoint_t *breakpoint);
+ int (*add_breakpoint)(struct target_s *target, struct breakpoint *breakpoint);
/* remove breakpoint. hw will only be updated if the target is currently halted.
* However, this method can be invoked on unresponsive targets.
*/
- int (*remove_breakpoint)(struct target_s *target, breakpoint_t *breakpoint);
+ int (*remove_breakpoint)(struct target_s *target, struct breakpoint *breakpoint);
int (*add_watchpoint)(struct target_s *target, struct watchpoint *watchpoint);
/* remove watchpoint. hw will only be updated if the target is currently halted.
* However, this method can be invoked on unresponsive targets.