summaryrefslogtreecommitdiff
path: root/src/server
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/server
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/server')
-rw-r--r--src/server/gdb_server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index 4a6bc035..23748e7c 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -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;
}