static int xscale_get_reg(reg_t *reg);
static int xscale_set_reg(reg_t *reg, uint8_t *buf);
static int xscale_set_breakpoint(struct target_s *, breakpoint_t *);
-static int xscale_set_watchpoint(struct target_s *, watchpoint_t *);
+static int xscale_set_watchpoint(struct target_s *, struct watchpoint *);
static int xscale_unset_breakpoint(struct target_s *, breakpoint_t *);
static int xscale_read_trace(target_t *);
static void xscale_enable_watchpoints(struct target_s *target)
{
- watchpoint_t *watchpoint = target->watchpoints;
+ struct watchpoint *watchpoint = target->watchpoints;
while (watchpoint)
{
}
static int xscale_set_watchpoint(struct target_s *target,
- watchpoint_t *watchpoint)
+ struct watchpoint *watchpoint)
{
struct xscale_common_s *xscale = target_to_xscale(target);
uint8_t enable = 0;
}
static int xscale_add_watchpoint(struct target_s *target,
- watchpoint_t *watchpoint)
+ struct watchpoint *watchpoint)
{
struct xscale_common_s *xscale = target_to_xscale(target);
}
static int xscale_unset_watchpoint(struct target_s *target,
- watchpoint_t *watchpoint)
+ struct watchpoint *watchpoint)
{
struct xscale_common_s *xscale = target_to_xscale(target);
reg_t *dbcon = &xscale->reg_cache->reg_list[XSCALE_DBCON];
return ERROR_OK;
}
-static int xscale_remove_watchpoint(struct target_s *target, watchpoint_t *watchpoint)
+static int xscale_remove_watchpoint(struct target_s *target, struct watchpoint *watchpoint)
{
struct xscale_common_s *xscale = target_to_xscale(target);