summaryrefslogtreecommitdiff
path: root/src/target/arm7tdmi.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-05 06:18:26 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-05 06:18:26 +0000
commit3a4896182036eb472a06f66be3710d5c228b6748 (patch)
treeaa1207bc7952af699ead708f5f669fed53a20a47 /src/target/arm7tdmi.c
parente4729b3b7a5cfa30c19da4be7babfc074616fac6 (diff)
downloadopenocd_libswd-3a4896182036eb472a06f66be3710d5c228b6748.tar.gz
openocd_libswd-3a4896182036eb472a06f66be3710d5c228b6748.tar.bz2
openocd_libswd-3a4896182036eb472a06f66be3710d5c228b6748.tar.xz
openocd_libswd-3a4896182036eb472a06f66be3710d5c228b6748.zip
moves handling of problems with resetting into the halted state
into the target implementation. Also target_process_reset() is now simpler and has error handling, e.g. if assert reset fails, then target_process_reset() will propagate that error. cmd_ctx was passed in to examine(), which is wrong - removed that. git-svn-id: svn://svn.berlios.de/openocd/trunk@887 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm7tdmi.c')
-rw-r--r--src/target/arm7tdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm7tdmi.c b/src/target/arm7tdmi.c
index ff398887..41771ab1 100644
--- a/src/target/arm7tdmi.c
+++ b/src/target/arm7tdmi.c
@@ -708,7 +708,7 @@ void arm7tdmi_build_reg_cache(target_t *target)
armv4_5->core_cache = (*cache_p);
}
-int arm7tdmi_examine(struct command_context_s *cmd_ctx, struct target_s *target)
+int arm7tdmi_examine(struct target_s *target)
{
int retval;
armv4_5_common_t *armv4_5 = target->arch_info;