arm: fix arm reg regression62/1362/2
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 23 Apr 2013 11:15:07 +0000 (12:15 +0100)
committerFreddie Chopin <freddie.chopin@gmail.com>
Sun, 28 Apr 2013 07:35:41 +0000 (07:35 +0000)
commit37299b2b5809fa9a3bd531ca3e2528085e095a0e
treef3cc1efd2910db282e973bd79f2d52c298b96497
parentda2e40bcd3541a172ed037d57b7eaafb479f94d5
arm: fix arm reg regression

Seems commit fc2abe63fd3cea7497da7be2955d333bd3f800b9 caused a regression
in that the arm reg cmd no longer worked. The issue was caused because we
changed the value of ARM_MODE_THREAD which was being checked in arm_init_arch_info.

Change-Id: Id571d4ab336d1b0e2b93363147af245d24b65ca5
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1362
Tested-by: jenkins
Reviewed-by: Luca Bruno <lucab@debian.org>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/target/arm11.c
src/target/arm7_9_common.c
src/target/xscale.c