summaryrefslogtreecommitdiff
path: root/src/target/etm.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 09:06:49 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:12 -0800
commit55edfdf2ab6c5d1d6cd4c1c97a79cbb1d39b1f22 (patch)
tree433f8e72791e1b4537eb710f52f7ca07ae6c6b24 /src/target/etm.c
parent22f6a4cef5b4bf6696a7ea0fa41fafc3da06c9fa (diff)
downloadopenocd+libswd-55edfdf2ab6c5d1d6cd4c1c97a79cbb1d39b1f22.tar.gz
openocd+libswd-55edfdf2ab6c5d1d6cd4c1c97a79cbb1d39b1f22.tar.bz2
openocd+libswd-55edfdf2ab6c5d1d6cd4c1c97a79cbb1d39b1f22.tar.xz
openocd+libswd-55edfdf2ab6c5d1d6cd4c1c97a79cbb1d39b1f22.zip
arm_instruction_t -> struct arm_instruction
Remove misleading typedef and redundant suffix from struct arm_instruction.
Diffstat (limited to 'src/target/etm.c')
-rw-r--r--src/target/etm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/etm.c b/src/target/etm.c
index 118fe12d..a5fe2826 100644
--- a/src/target/etm.c
+++ b/src/target/etm.c
@@ -636,7 +636,7 @@ static struct etm_capture_driver *etm_capture_drivers[] =
NULL
};
-static int etm_read_instruction(etm_context_t *ctx, arm_instruction_t *instruction)
+static int etm_read_instruction(etm_context_t *ctx, struct arm_instruction *instruction)
{
int i;
int section = -1;
@@ -887,7 +887,7 @@ static int etmv1_data(etm_context_t *ctx, int size, uint32_t *data)
static int etmv1_analyze_trace(etm_context_t *ctx, struct command_context_s *cmd_ctx)
{
int retval;
- arm_instruction_t instruction;
+ struct arm_instruction instruction;
/* read the trace data if it wasn't read already */
if (ctx->trace_depth == 0)