summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-06-16 15:02:02 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-06-16 15:02:02 +0000
commit85fc1e06fa086dc12dddf20d826d705e6505250d (patch)
tree133163d3243827c2752ff6e62bf5068c64189c0f /src
parent5c8ebfbed2315959f95ef96f358c5611fe398719 (diff)
downloadopenocd_libswd-85fc1e06fa086dc12dddf20d826d705e6505250d.tar.gz
openocd_libswd-85fc1e06fa086dc12dddf20d826d705e6505250d.tar.bz2
openocd_libswd-85fc1e06fa086dc12dddf20d826d705e6505250d.tar.xz
openocd_libswd-85fc1e06fa086dc12dddf20d826d705e6505250d.zip
- removed duplicate cortex_m3_register_commands
git-svn-id: svn://svn.berlios.de/openocd/trunk@709 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/target/armv7m.h2
-rw-r--r--src/target/cortex_m3.c3
2 files changed, 0 insertions, 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;
}
-