summaryrefslogtreecommitdiff
path: root/src/target/arm7_9_common.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-31 11:32:10 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-31 11:32:10 +0000
commit4deb42ed004f90058856b1d72dda63c4843b3854 (patch)
treea0fd422d243e6e109f16314f44db13edc31d6d6d /src/target/arm7_9_common.c
parentd00ac17e8e06fa06acde570d89ac6a90126359c8 (diff)
downloadopenocd_libswd-4deb42ed004f90058856b1d72dda63c4843b3854.tar.gz
openocd_libswd-4deb42ed004f90058856b1d72dda63c4843b3854.tar.bz2
openocd_libswd-4deb42ed004f90058856b1d72dda63c4843b3854.tar.xz
openocd_libswd-4deb42ed004f90058856b1d72dda63c4843b3854.zip
Add target_examine_one wrapper:
- replaces all calls to target->type->examine. git-svn-id: svn://svn.berlios.de/openocd/trunk@1968 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm7_9_common.c')
-rw-r--r--src/target/arm7_9_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c
index f6f27710..9751c213 100644
--- a/src/target/arm7_9_common.c
+++ b/src/target/arm7_9_common.c
@@ -1051,7 +1051,7 @@ int arm7_9_deassert_reset(target_t *target)
{
LOG_WARNING("srst pulls trst - can not reset into halted mode. Issuing halt after reset.");
/* set up embedded ice registers again */
- if ((retval=target->type->examine(target))!=ERROR_OK)
+ if ((retval = target_examine_one(target)) != ERROR_OK)
return retval;
if ((retval=target_poll(target))!=ERROR_OK)