From 85fc1e06fa086dc12dddf20d826d705e6505250d Mon Sep 17 00:00:00 2001 From: ntfreak Date: Mon, 16 Jun 2008 15:02:02 +0000 Subject: [PATCH] - removed duplicate cortex_m3_register_commands git-svn-id: svn://svn.berlios.de/openocd/trunk@709 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/armv7m.h | 2 -- src/target/cortex_m3.c | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/target/armv7m.h b/src/target/armv7m.h index d7d24adb..7eaa5c51 100644 --- a/src/target/armv7m.h +++ b/src/target/armv7m.h @@ -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); diff --git a/src/target/cortex_m3.c b/src/target/cortex_m3.c index 845cca5f..a90baafa 100644 --- a/src/target/cortex_m3.c +++ b/src/target/cortex_m3.c @@ -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; } - -- 2.39.5