summaryrefslogtreecommitdiff
path: root/src/target/arm_semihosting.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-04 19:14:48 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-04 19:14:48 -0800
commit31e3ea7c19d39589ac9a8b2220331206b6d1e25c (patch)
treeaeab882174f1d49a589b93f366ee13f5e3c500bc /src/target/arm_semihosting.c
parentf67f6fe5bb8a466cc4d49f83608f026c4b233949 (diff)
downloadopenocd+libswd-31e3ea7c19d39589ac9a8b2220331206b6d1e25c.tar.gz
openocd+libswd-31e3ea7c19d39589ac9a8b2220331206b6d1e25c.tar.bz2
openocd+libswd-31e3ea7c19d39589ac9a8b2220331206b6d1e25c.tar.xz
openocd+libswd-31e3ea7c19d39589ac9a8b2220331206b6d1e25c.zip
ARM: rename ARMV4_5_STATE_* as ARM_STATE_*
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm_semihosting.c')
-rw-r--r--src/target/arm_semihosting.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm_semihosting.c b/src/target/arm_semihosting.c
index 7fe0a973..f4e91993 100644
--- a/src/target/arm_semihosting.c
+++ b/src/target/arm_semihosting.c
@@ -387,7 +387,7 @@ static int do_semihosting(struct target *target)
armv4_5->core_cache->reg_list[ARMV4_5_CPSR].dirty = 1;
armv4_5->core_mode = spsr & 0x1f;
if (spsr & 0x20)
- armv4_5->core_state = ARMV4_5_STATE_THUMB;
+ armv4_5->core_state = ARM_STATE_THUMB;
return target_resume(target, 1, 0, 0, 0);
}