summaryrefslogtreecommitdiff
path: root/src/target/arm_simulator.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-13 10:11:13 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-13 11:58:14 -0800
commit0f1163e823c6ca3c2a81fa296157f5dde0635fea (patch)
tree60551098bba500cd8b7fc4bd669d64fd3ed8f061 /src/target/arm_simulator.c
parentd0dee7ccafcf87259fadf6c5de43df8583b0e885 (diff)
downloadopenocd+libswd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.tar.gz
openocd+libswd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.tar.bz2
openocd+libswd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.tar.xz
openocd+libswd-0f1163e823c6ca3c2a81fa296157f5dde0635fea.zip
target_t -> struct target
Remove misleading typedef and redundant suffix from struct target.
Diffstat (limited to 'src/target/arm_simulator.c')
-rw-r--r--src/target/arm_simulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm_simulator.c b/src/target/arm_simulator.c
index 52526667..46cd5587 100644
--- a/src/target/arm_simulator.c
+++ b/src/target/arm_simulator.c
@@ -277,7 +277,7 @@ static int thumb_pass_branch_condition(uint32_t cpsr, uint16_t opcode)
* if the dry_run_pc argument is provided, no state is changed,
* but the new pc is stored in the variable pointed at by the argument
*/
-int arm_simulate_step_core(target_t *target,
+int arm_simulate_step_core(struct target *target,
uint32_t *dry_run_pc, struct arm_sim_interface *sim)
{
uint32_t current_pc = sim->get_reg(sim, 15);
@@ -847,7 +847,7 @@ static enum armv4_5_mode armv4_5_get_mode(struct arm_sim_interface *sim)
-int arm_simulate_step(target_t *target, uint32_t *dry_run_pc)
+int arm_simulate_step(struct target *target, uint32_t *dry_run_pc)
{
struct armv4_5_common_s *armv4_5 = target_to_armv4_5(target);
struct arm_sim_interface sim;