Merge pull request #848 from riscv/removed-unused-func-set-frontend-running

gdb_server: Removed unused function gdb_set_frontend_state_running
This commit is contained in:
Tim Newsome 2023-05-16 09:28:14 -07:00 committed by GitHub
commit 0a38258f71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View File

@ -4152,12 +4152,6 @@ int gdb_register_commands(struct command_context *cmd_ctx)
return register_commands(cmd_ctx, NULL, gdb_command_handlers);
}
void gdb_set_frontend_state_running(struct connection *connection)
{
struct gdb_connection *gdb_con = connection->priv;
gdb_con->frontend_state = TARGET_RUNNING;
}
void gdb_service_free(void)
{
free(gdb_port);

View File

@ -35,8 +35,6 @@ static inline struct target *get_target_from_connection(struct connection *conne
return gdb_service->target;
}
void gdb_set_frontend_state_running(struct connection *connection);
#define ERROR_GDB_BUFFER_TOO_SMALL (-800)
#define ERROR_GDB_TIMEOUT (-801)