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
This commit is contained in:
zwelch
2009-05-31 11:31:11 +00:00
parent df4cf0615f
commit 17fa4de854
3 changed files with 15 additions and 1 deletions

View File

@@ -410,6 +410,13 @@ extern void target_reset_examined(struct target_s *target);
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.
*