armv7m: use consistent arm.cpsr member 39/1539/2
authorSpencer Oliver <spen@spen-soft.co.uk>
Mon, 5 Aug 2013 16:46:09 +0000 (17:46 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Sun, 8 Sep 2013 16:13:51 +0000 (16:13 +0000)
commit83f1c6f9169bdae920ce18108590d8dffad99126
tree369224d53f594ade8d4c40c9ade953c886ec1363
parent32ac9c0144f7aa7233b941bf78139eef8332fbc2
armv7m: use consistent arm.cpsr member

We already set cpsr in armv7m_build_reg_cache, so lets use it for all other
accesses to this field.

Change-Id: I19b3b21ecf1571bbea12e1be664845e6544f6fa1
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1539
Tested-by: jenkins
src/target/arm.h
src/target/cortex_m.c
src/target/hla_target.c