diff options
author | Michel JAOUEN <michel.jaouen@stericsson.com> | 2012-01-03 15:34:14 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvindharboe@gmail.com> | 2012-01-15 22:07:24 +0000 |
commit | ca173ff4d4b92ab5a3df89c3a0cd4d47edd4042c (patch) | |
tree | cd877f11ce02ed04d4db01dde0be5febb4525243 | |
parent | fa5b0833d5fd146e9ceb9a91b2e8e6364f3bf53a (diff) | |
download | riscv-openocd-ca173ff4d4b92ab5a3df89c3a0cd4d47edd4042c.zip riscv-openocd-ca173ff4d4b92ab5a3df89c3a0cd4d47edd4042c.tar.gz riscv-openocd-ca173ff4d4b92ab5a3df89c3a0cd4d47edd4042c.tar.bz2 |
rtos : remove unused parameter
Change-Id: I98c9f28a0085bd4713b694181ab544777091eac6
Signed-off-by: Michel JAOUEN <michel.jaouen@stericsson.com>
Reviewed-on: http://openocd.zylin.com/341
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
-rw-r--r-- | src/rtos/rtos.c | 2 | ||||
-rw-r--r-- | src/rtos/rtos.h | 2 | ||||
-rw-r--r-- | src/server/gdb_server.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/rtos/rtos.c b/src/rtos/rtos.c index ac7f89c..8a5db11 100644 --- a/src/rtos/rtos.c +++ b/src/rtos/rtos.c @@ -424,7 +424,7 @@ int gdb_thread_packet(struct connection *connection, char *packet, int packet_si return GDB_THREAD_PACKET_NOT_CONSUMED; } -int rtos_get_gdb_reg_list(struct connection *connection, struct reg **reg_list[], int *reg_list_size) +int rtos_get_gdb_reg_list(struct connection *connection) { struct target *target = get_target_from_connection(connection); diff --git a/src/rtos/rtos.h b/src/rtos/rtos.h index 269ae8d..4f190e9 100644 --- a/src/rtos/rtos.h +++ b/src/rtos/rtos.h @@ -101,7 +101,7 @@ int rtos_create(Jim_GetOptInfo *goi, struct target * target); int rtos_generic_stack_read( struct target * target, const struct rtos_register_stacking* stacking, int64_t stack_ptr, char ** hex_reg_list ); int rtos_try_next( struct target * target ); int gdb_thread_packet(struct connection *connection, char *packet, int packet_size); -int rtos_get_gdb_reg_list(struct connection *connection, struct reg **reg_list[], int *reg_list_size); +int rtos_get_gdb_reg_list(struct connection *connection); int rtos_update_threads( struct target *target ); #endif // RTOS_H diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index abec138..7091555 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -1040,7 +1040,7 @@ static int gdb_get_registers_packet(struct connection *connection, #endif if ((target->rtos != NULL) && - (ERROR_OK == rtos_get_gdb_reg_list(connection, ®_list, ®_list_size))) + (ERROR_OK == rtos_get_gdb_reg_list(connection))) { return ERROR_OK; } |