From: oharboe Date: Fri, 18 Apr 2008 06:29:30 +0000 (+0000) Subject: Nicolas Pitre fixed regression. X-Git-Tag: v0.1.0~699 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4b19617f330a1ea4d8e2fe3fc00809f8244b465e;p=openocd Nicolas Pitre fixed regression. git-svn-id: svn://svn.berlios.de/openocd/trunk@590 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/target/feroceon.c b/src/target/feroceon.c index 73c25be7..dc216292 100644 --- a/src/target/feroceon.c +++ b/src/target/feroceon.c @@ -639,15 +639,14 @@ int feroceon_target_command(struct command_context_s *cmd_ctx, char *cmd, char * int feroceon_examine(struct command_context_s *cmd_ctx, struct target_s *target) { + armv4_5_common_t *armv4_5; + arm7_9_common_t *arm7_9; int retval; - retval=feroceon_examine(cmd_ctx, target); + retval = arm9tdmi_examine(cmd_ctx, target); if (retval!=ERROR_OK) return retval; - armv4_5_common_t *armv4_5; - arm7_9_common_t *arm7_9; - armv4_5 = target->arch_info; arm7_9 = armv4_5->arch_info;