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

@@ -1366,7 +1366,8 @@ int gdb_step_continue_packet(connection_t *connection, target_t *target, char *p
else if (packet[0] == 's')
{
LOG_DEBUG("step");
retval=target->type->step(target, current, address, 0); /* step at current or address, don't handle breakpoints */
/* step at current or address, don't handle breakpoints */
retval = target_step(target, current, address, 0);
}
return retval;
}