From 53c05c8b1d5718b2acf5dbe0eb517dd427340041 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 13 Nov 2009 09:15:32 -0800 Subject: breakpoint_t -> struct breakpoint Remove misleading typedef and redundant suffix from struct breakpoint. --- src/target/target.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/target/target.h') diff --git a/src/target/target.h b/src/target/target.h index e872ec66..ef3f6ccd 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. * -- cgit v1.2.3