cortex_a8_brp_t -> struct cortex_a8_brp
Remove misleading typedef and redundant suffix from struct cortex_a8_brp.__archive__
parent
53c05c8b1d
commit
42fb6b8876
|
@ -969,7 +969,7 @@ static int cortex_a8_set_breakpoint(struct target_s *target,
|
|||
uint8_t byte_addr_select = 0x0F;
|
||||
struct cortex_a8_common *cortex_a8 = target_to_cortex_a8(target);
|
||||
struct armv7a_common *armv7a = &cortex_a8->armv7a_common;
|
||||
cortex_a8_brp_t * brp_list = cortex_a8->brp_list;
|
||||
struct cortex_a8_brp * brp_list = cortex_a8->brp_list;
|
||||
|
||||
if (breakpoint->set)
|
||||
{
|
||||
|
@ -1040,7 +1040,7 @@ static int cortex_a8_unset_breakpoint(struct target_s *target, struct breakpoint
|
|||
int retval;
|
||||
struct cortex_a8_common *cortex_a8 = target_to_cortex_a8(target);
|
||||
struct armv7a_common *armv7a = &cortex_a8->armv7a_common;
|
||||
cortex_a8_brp_t * brp_list = cortex_a8->brp_list;
|
||||
struct cortex_a8_brp * brp_list = cortex_a8->brp_list;
|
||||
|
||||
if (!breakpoint->set)
|
||||
{
|
||||
|
@ -1392,7 +1392,7 @@ static int cortex_a8_examine(struct target_s *target)
|
|||
cortex_a8->brp_num = ((didr >> 24) & 0x0F) + 1;
|
||||
cortex_a8->brp_num_context = ((didr >> 20) & 0x0F) + 1;
|
||||
cortex_a8->brp_num_available = cortex_a8->brp_num;
|
||||
cortex_a8->brp_list = calloc(cortex_a8->brp_num, sizeof(cortex_a8_brp_t));
|
||||
cortex_a8->brp_list = calloc(cortex_a8->brp_num, sizeof(struct cortex_a8_brp));
|
||||
// cortex_a8->brb_enabled = ????;
|
||||
for (i = 0; i < cortex_a8->brp_num; i++)
|
||||
{
|
||||
|
|
|
@ -82,14 +82,14 @@ extern char* cortex_a8_state_strings[];
|
|||
#define DSCR_DTR_TX_FULL 29
|
||||
#define DSCR_DTR_RX_FULL 30
|
||||
|
||||
typedef struct cortex_a8_brp_s
|
||||
struct cortex_a8_brp
|
||||
{
|
||||
int used;
|
||||
int type;
|
||||
uint32_t value;
|
||||
uint32_t control;
|
||||
uint8_t BRPn;
|
||||
} cortex_a8_brp_t;
|
||||
};
|
||||
|
||||
typedef struct cortex_a8_wrp_s
|
||||
{
|
||||
|
@ -119,7 +119,7 @@ struct cortex_a8_common
|
|||
int brp_num;
|
||||
int brp_num_available;
|
||||
// int brp_enabled;
|
||||
cortex_a8_brp_t *brp_list;
|
||||
struct cortex_a8_brp *brp_list;
|
||||
|
||||
/* Watchpoint register pairs */
|
||||
int wrp_num;
|
||||
|
|
Loading…
Reference in New Issue