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>
This commit is contained in:
Michel JAOUEN 2012-01-03 15:34:14 +01:00 committed by Øyvind Harboe
parent fa5b0833d5
commit ca173ff4d4
3 changed files with 3 additions and 3 deletions

View File

@ -424,7 +424,7 @@ int gdb_thread_packet(struct connection *connection, char *packet, int packet_si
return GDB_THREAD_PACKET_NOT_CONSUMED; 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); struct target *target = get_target_from_connection(connection);

View File

@ -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_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 rtos_try_next( struct target * target );
int gdb_thread_packet(struct connection *connection, char *packet, int packet_size); 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 ); int rtos_update_threads( struct target *target );
#endif // RTOS_H #endif // RTOS_H

View File

@ -1040,7 +1040,7 @@ static int gdb_get_registers_packet(struct connection *connection,
#endif #endif
if ((target->rtos != NULL) && if ((target->rtos != NULL) &&
(ERROR_OK == rtos_get_gdb_reg_list(connection, &reg_list, &reg_list_size))) (ERROR_OK == rtos_get_gdb_reg_list(connection)))
{ {
return ERROR_OK; return ERROR_OK;
} }