summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/gdb_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index e964a1d5..ffbd8d0d 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -1950,7 +1950,7 @@ int gdb_input_inner(connection_t *connection)
break;
case 'R':
/* handle extended restart packet */
- command_run_linef(connection->cmd_ctx, "gdb_restart");
+ command_run_linef(connection->cmd_ctx, "ocd_gdb_restart %d", get_num_by_target(target));
break;
default:
/* ignore unkown packets */