rtos : remove unused parameter
authorMichel JAOUEN <michel.jaouen@stericsson.com>
Tue, 3 Jan 2012 14:34:14 +0000 (15:34 +0100)
committerØyvind Harboe <oyvindharboe@gmail.com>
Sun, 15 Jan 2012 22:07:24 +0000 (22:07 +0000)
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>
src/rtos/rtos.c
src/rtos/rtos.h
src/server/gdb_server.c

index ac7f89c7f14ed1c28b9c8820c2ed5f4f902e4e22..8a5db11c07fc96213d8c9081d1f92e611ea6f7f1 100644 (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);
 
index 269ae8d918034349d9af54890791627af1343b6c..4f190e9329dd1fbd0e3622bea4ae145915847a0b 100644 (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_try_next( struct target * target );
 int gdb_thread_packet(struct connection *connection, char *packet, int packet_size);
 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
 int rtos_update_threads( struct target *target );
 
 #endif // RTOS_H
index abec1383b122bb9263733a2a8855ed00586a7b69..70915556817cae9ddd4cfcbad3adcab8d10abe36 100644 (file)
@@ -1040,7 +1040,7 @@ static int gdb_get_registers_packet(struct connection *connection,
 #endif
 
        if ((target->rtos != NULL) &&
 #endif
 
        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;
        }

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)