This is an automated email from Gerrit.

"Tomas Vanek <van...@fbl.cz>" just uploaded a new patch set to Gerrit, which 
you can find at https://review.openocd.org/c/openocd/+/8924

-- gerrit

commit e730393dacd6725db640b548b44daba8a3ace836
Author: Tomas Vanek <van...@fbl.cz>
Date:   Mon May 19 16:05:50 2025 +0200

    server/gdb_server: minor fixes of unavailable target handling
    
    Decreased log message severity.
    Fixed comment typo.
    
    Change-Id: I1f76ba1e3ee6710ce1ec4cdf95c6473797b57c4c
    Signed-off-by: Tomas Vanek <van...@fbl.cz>

diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index d596a76e01..580a96d98f 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -172,7 +172,7 @@ struct target *get_available_target_from_connection(struct 
connection *connectio
        return target;
 }
 
-/** Return true iff the given connection includes the given target. */
+/** Return true if the given connection includes the given target. */
 static bool gdb_connection_includes_target(struct connection *connection, 
struct target *target)
 {
        struct gdb_service *gdb_service = connection->service->priv;
@@ -3189,7 +3189,7 @@ static bool gdb_handle_vcont_packet(struct connection 
*connection, const char *p
                }
 
                if (ct->state == TARGET_UNAVAILABLE) {
-                       LOG_TARGET_ERROR(ct, "Target is unavailable, so cannot 
be stepped. "
+                       LOG_TARGET_INFO(ct, "Target is unavailable, so cannot 
be stepped. "
                                "Pretending to gdb that it is running until 
it's available again.");
                        retval = ERROR_FAIL;
                } else {

-- 

Reply via email to