aboutsummaryrefslogtreecommitdiff
path: root/src/target/target.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.h
parent1e51cf049cfed3bc42a748d848210f8e4b472282 (diff)
downloadriscv-openocd-53c05c8b1d5718b2acf5dbe0eb517dd427340041.zip
riscv-openocd-53c05c8b1d5718b2acf5dbe0eb517dd427340041.tar.gz
riscv-openocd-53c05c8b1d5718b2acf5dbe0eb517dd427340041.tar.bz2
breakpoint_t -> struct breakpoint
Remove misleading typedef and redundant suffix from struct breakpoint.
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 e872ec6..ef3f6cc 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -152,7 +152,7 @@ typedef struct target_s
// also see: target_state_name()
enum target_state state; /* the current backend-state (running, halted, ...) */
struct reg_cache *reg_cache; /* the first register cache of the target (core regs) */
- struct breakpoint_s *breakpoints; /* list of breakpoints */
+ struct breakpoint *breakpoints; /* list of breakpoints */
struct watchpoint *watchpoints; /* list of watchpoints */
struct trace_s *trace_info; /* generic trace information */
struct debug_msg_receiver *dbgmsg;/* list of debug message receivers */
@@ -313,14 +313,14 @@ void target_reset_examined(struct target_s *target);
* This routine is a wrapper for target->type->add_breakpoint.
*/
int target_add_breakpoint(struct target_s *target,
- struct breakpoint_s *breakpoint);
+ struct breakpoint *breakpoint);
/**
* Remove the @a breakpoint for @a target.
*
* This routine is a wrapper for target->type->remove_breakpoint.
*/
int target_remove_breakpoint(struct target_s *target,
- struct breakpoint_s *breakpoint);
+ struct breakpoint *breakpoint);
/**
* Add the @a watchpoint for @a target.
*