rtos: fix minor typos 59/5759/3
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 11 Jul 2020 22:25:53 +0000 (00:25 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 26 Jul 2020 19:13:41 +0000 (20:13 +0100)
Change-Id: I9ed4e2150a0a057397538b608d4a72bc48d0d64f
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5759
Tested-by: jenkins
src/rtos/FreeRTOS.c
src/rtos/chromium-ec.c
src/rtos/linux.c
src/rtos/nuttx.c
src/rtos/rtos.c

index c45d9d645cdd833ae7884cbb98bc8014ade6f24b..9a51974c51f4013416da1122c7f870b0b1ec5423 100644 (file)
@@ -245,7 +245,7 @@ static int FreeRTOS_update_threads(struct rtos *rtos)
                return ERROR_FAIL;
        }
        uint64_t top_used_priority = 0;
-       /* FIXME: endianess error on almost all target_read_buffer(), see also
+       /* FIXME: endianness error on almost all target_read_buffer(), see also
         * other rtoses */
        retval = target_read_buffer(rtos->target,
                        rtos->symbols[FreeRTOS_VAL_uxTopUsedPriority].address,
index 92ed2cbadcda6c51937b18b059603f2c67f1a5cf..ae12a3bf5487f65fe344b60a37f80b2e502dcb10 100644 (file)
@@ -306,7 +306,7 @@ static int chromium_ec_update_threads(struct rtos *rtos)
                        LOG_ERROR("Failed to get task %d's runtime", t);
                runtime =  target_buffer_get_u64(rtos->target, runtime_buf);
 
-               /* Priority is simply the positon in the array */
+               /* Priority is simply the position in the array */
                if (thread_ptr == current_task)
                        snprintf(thread_str_buf, sizeof(thread_str_buf),
                                 "State: Running, Priority: %u, Events: %" PRIx32 ", Runtime: %" PRIu64 "\n",
index 63659bb05bbab57217544afae3e7462a286d4cdc..cd1ed218abfb996f712e04f534acc42a3f670e84 100644 (file)
@@ -188,7 +188,7 @@ static int linux_os_thread_reg_list(struct rtos *rtos,
                return ERROR_FAIL;
        }
 
-       /*  search target to perfom the access  */
+       /*  search target to perform the access  */
        struct reg **gdb_reg_list;
        struct target_list *head;
        head = target->head;
index 322c7d19bb1f86229a553405c718f93f6bd54f23..3c90625164a4bfc29e8f73a9e69140b19cd8e072 100644 (file)
@@ -174,7 +174,7 @@ static int rcmd_offset(const char *cmd, const char *name)
 static int nuttx_thread_packet(struct connection *connection,
        char const *packet, int packet_size)
 {
-       char cmd[GDB_BUFFER_SIZE / 2 + 1] = ""; /* Extra byte for nul-termination */
+       char cmd[GDB_BUFFER_SIZE / 2 + 1] = ""; /* Extra byte for null-termination */
 
        if (!strncmp(packet, "qRcmd", 5)) {
                size_t len = unhexify((uint8_t *)cmd, packet + 6, sizeof(cmd));
index ca31d22a5f83090c21ac14ef6b73ba47d5b2b4c7..97ce255b924c386ed82458c8cb8421bce307585c 100644 (file)
@@ -231,7 +231,7 @@ int rtos_qsymbol(struct connection *connection, char const *packet, int packet_s
        int rtos_detected = 0;
        uint64_t addr = 0;
        size_t reply_len;
-       char reply[GDB_BUFFER_SIZE + 1], cur_sym[GDB_BUFFER_SIZE / 2 + 1] = ""; /* Extra byte for nul-termination */
+       char reply[GDB_BUFFER_SIZE + 1], cur_sym[GDB_BUFFER_SIZE / 2 + 1] = ""; /* Extra byte for null-termination */
        symbol_table_elem_t *next_sym = NULL;
        struct target *target = get_target_from_connection(connection);
        struct rtos *os = target->rtos;

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)