summaryrefslogtreecommitdiff
path: root/src/target/cortex_m3.c
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2009-10-30 18:29:09 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2009-11-05 09:05:10 +0100
commitacff2521fb8e47dce4a2e89e2de77e71bf314047 (patch)
treeacf55208ca5995cf7483e2a4afb812d75e544187 /src/target/cortex_m3.c
parenta5e396b9641c425225e3820a160ee66887416d71 (diff)
downloadopenocd+libswd-acff2521fb8e47dce4a2e89e2de77e71bf314047.tar.gz
openocd+libswd-acff2521fb8e47dce4a2e89e2de77e71bf314047.tar.bz2
openocd+libswd-acff2521fb8e47dce4a2e89e2de77e71bf314047.tar.xz
openocd+libswd-acff2521fb8e47dce4a2e89e2de77e71bf314047.zip
debug interface: get rid of unused pre_debug fn
Removing unused code makes it much less mysterius. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/cortex_m3.c')
-rw-r--r--src/target/cortex_m3.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/target/cortex_m3.c b/src/target/cortex_m3.c
index 1c59f028..e854f6b6 100644
--- a/src/target/cortex_m3.c
+++ b/src/target/cortex_m3.c
@@ -322,8 +322,6 @@ static int cortex_m3_debug_entry(target_t *target)
swjdp_common_t *swjdp = &armv7m->swjdp_info;
LOG_DEBUG(" ");
- if (armv7m->pre_debug_entry)
- armv7m->pre_debug_entry(target);
cortex_m3_clear_halt(target);
mem_ap_read_atomic_u32(swjdp, DCB_DHCSR, &cortex_m3->dcb_dhcsr);
@@ -1610,7 +1608,6 @@ static int cortex_m3_init_arch_info(target_t *target,
/* register arch-specific functions */
armv7m->examine_debug_reason = cortex_m3_examine_debug_reason;
- armv7m->pre_debug_entry = NULL;
armv7m->post_debug_entry = NULL;
armv7m->pre_restore_context = NULL;