summaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-31 11:31:11 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-31 11:31:11 +0000
commit17fa4de8541ac12fad2ce836aa61d22dbf1642c8 (patch)
tree210375024d6172ad61efd9d63c4639394dbc306e /src/target/target.h
parentdf4cf0615f4103b42ca35cacb504126b5f55ac08 (diff)
downloadopenocd_libswd-17fa4de8541ac12fad2ce836aa61d22dbf1642c8.tar.gz
openocd_libswd-17fa4de8541ac12fad2ce836aa61d22dbf1642c8.tar.bz2
openocd_libswd-17fa4de8541ac12fad2ce836aa61d22dbf1642c8.tar.xz
openocd_libswd-17fa4de8541ac12fad2ce836aa61d22dbf1642c8.zip
Add target_step wrapper:
- replaces all calls to target->type->step. git-svn-id: svn://svn.berlios.de/openocd/trunk@1965 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/target/target.h b/src/target/target.h
index 1b288938..3d9d8e9f 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -411,6 +411,13 @@ extern int target_get_gdb_reg_list(struct target_s *target,
struct reg_s **reg_list[], int *reg_list_size);
/**
+ * Step the target.
+ *
+ * This routine is a wrapper for target->type->step.
+ */
+int target_step(struct target_s *target,
+ int current, u32 address, int handle_breakpoints);
+/**
* Run an algorithm on the @a target given.
*
* This routine is a wrapper for target->type->run_algorithm.