diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 13:25:47 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-13 13:25:47 -0800 |
commit | 98723c4ecdbe06f90c66f3abec27b792c3b38e34 (patch) | |
tree | c6ea2a1627e8f7109e3aa0589cd625ac0c740aa7 /src/server/gdb_server.c | |
parent | d16968e24f5d9e436ae4e136cd27652c4c948203 (diff) | |
download | riscv-openocd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.zip riscv-openocd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.gz riscv-openocd-98723c4ecdbe06f90c66f3abec27b792c3b38e34.tar.bz2 |
command_context_t -> struct command_context
Remove misleading typedef and redundant suffix from struct command_context.
Diffstat (limited to 'src/server/gdb_server.c')
-rw-r--r-- | src/server/gdb_server.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index f49f352..4151ec7 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -650,7 +650,7 @@ int gdb_output_con(struct connection *connection, const char* line) return retval; } -int gdb_output(struct command_context_s *context, const char* line) +int gdb_output(struct command_context *context, const char* line) { /* this will be dumped to the log and also sent as an O packet if possible */ LOG_USER_N("%s", line); @@ -1556,7 +1556,7 @@ static int compare_bank (const void * a, const void * b) int gdb_query_packet(struct connection *connection, struct target *target, char *packet, int packet_size) { - command_context_t *cmd_ctx = connection->cmd_ctx; + struct command_context *cmd_ctx = connection->cmd_ctx; struct gdb_connection *gdb_connection = connection->priv; if (strstr(packet, "qRcmd,")) @@ -2371,7 +2371,7 @@ COMMAND_HANDLER(handle_gdb_breakpoint_override_command) return ERROR_OK; } -int gdb_register_commands(command_context_t *command_context) +int gdb_register_commands(struct command_context *command_context) { register_command(command_context, NULL, "gdb_sync", handle_gdb_sync_command, COMMAND_ANY, |