Add wrappers for target->type->examined:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 31 May 2009 09:38:43 +0000 (09:38 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 31 May 2009 09:38:43 +0000 (09:38 +0000)
commit9cb3af610a1d7cc2d8c1433f54077938d0268a8f
tree7429d8f73b1fba650f6674227291da316477b126
parentfbe8cf72a5e6c80fed5fba8754d790ca63ad2b65
Add wrappers for target->type->examined:
- replace all checks of target->type->examined with target_was_examined().
- replace all setting of target->type->examined with target_set_examined().
- replace clearing of target->type->examined with target_reset_examined().
- add documentation in target_s to warn not to access field directly.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1962 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/target/arm11.c
src/target/arm7_9_common.c
src/target/arm7tdmi.c
src/target/arm9tdmi.c
src/target/cortex_a8.c
src/target/cortex_m3.c
src/target/mips32.c
src/target/mips_m4k.c
src/target/target.c
src/target/target.h