etmv1_trace_data_t -> struct etmv1_trace_data

Remove misleading typedef and redundant suffix from struct etmv1_trace_data.
This commit is contained in:
Zachary T Welch
2009-11-13 08:42:46 -08:00
parent e2001ba211
commit 99614219ad
4 changed files with 6 additions and 6 deletions

View File

@@ -1914,7 +1914,7 @@ COMMAND_HANDLER(handle_etm_load_command)
fileio_read_u32(&file, &tmp); etm_ctx->tracemode = tmp;
fileio_read_u32(&file, &etm_ctx->trace_depth);
}
etm_ctx->trace_data = malloc(sizeof(etmv1_trace_data_t) * etm_ctx->trace_depth);
etm_ctx->trace_data = malloc(sizeof(struct etmv1_trace_data) * etm_ctx->trace_depth);
if (etm_ctx->trace_data == NULL)
{
command_print(cmd_ctx, "not enough memory to perform operation");