This is an automated email from Gerrit.

Antonio Borneo ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/5760

-- gerrit

commit 45b521cbf9a31b151cb41267422215f45f9f028c
Author: Antonio Borneo <[email protected]>
Date:   Sun Jul 12 00:33:29 2020 +0200

    server: fix minor typos
    
    Change-Id: Ibf835dc174a1a160ec0d57000a113c35f2713045
    Signed-off-by: Antonio Borneo <[email protected]>

diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index 17042fb..327d96b 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -68,7 +68,7 @@ struct target_desc_format {
 
 /* private connection data for GDB */
 struct gdb_connection {
-       char buffer[GDB_BUFFER_SIZE + 1]; /* Extra byte for nul-termination */
+       char buffer[GDB_BUFFER_SIZE + 1]; /* Extra byte for null-termination */
        char *buf_p;
        int buf_cnt;
        bool ctrl_c;
@@ -3221,7 +3221,7 @@ static void gdb_sig_halted(struct connection *connection)
 static int gdb_input_inner(struct connection *connection)
 {
        /* Do not allocate this on the stack */
-       static char gdb_packet_buffer[GDB_BUFFER_SIZE + 1]; /* Extra byte for 
nul-termination */
+       static char gdb_packet_buffer[GDB_BUFFER_SIZE + 1]; /* Extra byte for 
null-termination */
 
        struct target *target;
        char const *packet = gdb_packet_buffer;
@@ -3503,7 +3503,7 @@ static int gdb_target_start(struct target *target, const 
char *port)
        ret = add_service("gdb",
                        port, 1, &gdb_new_connection, &gdb_input,
                        &gdb_connection_closed, gdb_service);
-       /* initialialize all targets gdb service with the same pointer */
+       /* initialize all targets gdb service with the same pointer */
        {
                struct target_list *head;
                struct target *curr;
diff --git a/src/server/server.c b/src/server/server.c
index 23a15ef..d96f0b6 100644
--- a/src/server/server.c
+++ b/src/server/server.c
@@ -325,7 +325,7 @@ int add_service(char *name,
 #endif
        } else if (c->type == CONNECTION_PIPE) {
 #ifdef _WIN32
-               /* we currenty do not support named pipes under win32
+               /* we currently do not support named pipes under win32
                 * so exit openocd for now */
                LOG_ERROR("Named pipes currently not supported under this os");
                free_service(c);
diff --git a/src/server/telnet_server.c b/src/server/telnet_server.c
index d0583a9..a56c397 100644
--- a/src/server/telnet_server.c
+++ b/src/server/telnet_server.c
@@ -422,7 +422,7 @@ static int telnet_input(struct connection *connection)
                                                } else if ((*buf_p == 0xd) || 
(*buf_p == 0xa)) {        /* CR/LF */
                                                        int retval;
 
-                                                       /* skip over 
combinations with CR/LF and NUL characters */
+                                                       /* skip over 
combinations with CR/LF and NULL characters */
                                                        if ((bytes_read > 1) && 
((*(buf_p + 1) == 0xa) ||
                                                                        
(*(buf_p + 1) == 0xd))) {
                                                                buf_p++;

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to