summaryrefslogtreecommitdiff
path: root/src/target/arm7_9_common.h
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-30 07:49:13 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-30 07:49:13 +0000
commit069a04dca0badadb709c6f2f84ef668ad38ddc8a (patch)
tree90a127a84e83b53e73b10daa9810fca948e84fb2 /src/target/arm7_9_common.h
parentb8f895deb66c72c64d1895a60615444ef7ab085a (diff)
downloadopenocd+libswd-069a04dca0badadb709c6f2f84ef668ad38ddc8a.tar.gz
openocd+libswd-069a04dca0badadb709c6f2f84ef668ad38ddc8a.tar.bz2
openocd+libswd-069a04dca0badadb709c6f2f84ef668ad38ddc8a.tar.xz
openocd+libswd-069a04dca0badadb709c6f2f84ef668ad38ddc8a.zip
Hongtao Zheng single step fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@1113 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm7_9_common.h')
-rw-r--r--src/target/arm7_9_common.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/target/arm7_9_common.h b/src/target/arm7_9_common.h
index 73d8f59e..a975b5f3 100644
--- a/src/target/arm7_9_common.h
+++ b/src/target/arm7_9_common.h
@@ -8,6 +8,9 @@
* Copyright (C) 2008 by Spencer Oliver *
* spen@spen-soft.co.uk *
* *
+ * Copyright (C) 2008 by Hongtao Zheng *
+ * hontor@126.com *
+ * *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
@@ -93,7 +96,7 @@ typedef struct arm7_9_common_s
void (*branch_resume)(target_t *target);
void (*branch_resume_thumb)(target_t *target);
- void (*enable_single_step)(target_t *target);
+ void (*enable_single_step)(target_t *target, u32 next_pc);
void (*disable_single_step)(target_t *target);
void (*set_special_dbgrq)(target_t *target);
@@ -143,7 +146,7 @@ int arm7_9_remove_breakpoint(struct target_s *target, breakpoint_t *breakpoint);
int arm7_9_add_watchpoint(struct target_s *target, watchpoint_t *watchpoint);
int arm7_9_remove_watchpoint(struct target_s *target, watchpoint_t *watchpoint);
-void arm7_9_enable_eice_step(target_t *target);
+void arm7_9_enable_eice_step(target_t *target, u32 next_pc);
void arm7_9_disable_eice_step(target_t *target);
int arm7_9_execute_sys_speed(struct target_s *target);