From 3a4896182036eb472a06f66be3710d5c228b6748 Mon Sep 17 00:00:00 2001 From: oharboe Date: Tue, 5 Aug 2008 06:18:26 +0000 Subject: 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 --- src/target/arm7tdmi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target/arm7tdmi.h') diff --git a/src/target/arm7tdmi.h b/src/target/arm7tdmi.h index 95b7938..a9b41da 100644 --- a/src/target/arm7tdmi.h +++ b/src/target/arm7tdmi.h @@ -40,7 +40,7 @@ typedef struct arm7tdmi_common_s int arm7tdmi_register_commands(struct command_context_s *cmd_ctx); int arm7tdmi_init_arch_info(target_t *target, arm7tdmi_common_t *arm7tdmi, int chain_pos, char *variant); int arm7tdmi_init_target(struct command_context_s *cmd_ctx, struct target_s *target); -int arm7tdmi_examine(struct command_context_s *cmd_ctx, struct target_s *target); +int arm7tdmi_examine(struct target_s *target); #endif /* ARM7TDMI_H */ -- cgit v1.1