reg_cache_t -> struct reg_cache

Remove misleading typedef and redundant suffix from struct reg_cache.
This commit is contained in:
Zachary T Welch
2009-11-13 08:44:08 -08:00
parent de3fb2f3bc
commit 74d09617b9
27 changed files with 57 additions and 57 deletions

View File

@@ -271,14 +271,14 @@ int mips32_arch_state(struct target_s *target)
return ERROR_OK;
}
reg_cache_t *mips32_build_reg_cache(target_t *target)
struct reg_cache *mips32_build_reg_cache(target_t *target)
{
/* get pointers to arch-specific information */
struct mips32_common *mips32 = target->arch_info;
int num_regs = MIPS32NUMCOREREGS;
reg_cache_t **cache_p = register_get_last_cache_p(&target->reg_cache);
reg_cache_t *cache = malloc(sizeof(reg_cache_t));
struct reg_cache **cache_p = register_get_last_cache_p(&target->reg_cache);
struct reg_cache *cache = malloc(sizeof(struct reg_cache));
reg_t *reg_list = malloc(sizeof(reg_t) * num_regs);
struct mips32_core_reg *arch_info = malloc(sizeof(struct mips32_core_reg) * num_regs);
int i;