]> git.sur5r.net Git - openocd/commitdiff
- removed duplicate cortex_m3_register_commands
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 16 Jun 2008 15:02:02 +0000 (15:02 +0000)
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 16 Jun 2008 15:02:02 +0000 (15:02 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@709 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/armv7m.h
src/target/cortex_m3.c

index d7d24adbcaa0489e7514e5bc9dade865c97a8e4b..7eaa5c512805f48f8669cb4ac55ce43d94fc20ef 100644 (file)
@@ -83,8 +83,6 @@ typedef struct armv7m_common_s
        int (*read_core_reg)(struct target_s *target, int num);
        int (*write_core_reg)(struct target_s *target, int num);
        
-       arm_jtag_t jtag_info;
-
        int (*examine_debug_reason)(target_t *target);
        void (*pre_debug_entry)(target_t *target);
        void (*post_debug_entry)(target_t *target);
index 845cca5f50edec8b038d3be6f49c9aad2f3527ce..a90baafaf57f96fcdf48bb235448b9faeee4c191 100644 (file)
@@ -1367,7 +1367,6 @@ int cortex_m3_examine(struct command_context_s *cmd_ctx, struct target_s *target
        return ERROR_OK;
 }
 
-
 int cortex_m3_quit()
 {
        
@@ -1519,7 +1518,6 @@ int cortex_m3_target_command(struct command_context_s *cmd_ctx, char *cmd, char
                variant = args[4];
        
        cortex_m3_init_arch_info(target, cortex_m3, chain_pos, variant);
-       cortex_m3_register_commands(cmd_ctx);
        
        return ERROR_OK;
 }
@@ -1532,4 +1530,3 @@ int cortex_m3_register_commands(struct command_context_s *cmd_ctx)
        
        return retval;
 }
-