This is an automated email from Gerrit. Christopher Head ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/5794
-- gerrit commit d343d335675a1efc7f9151667b44fa68ca6fafc0 Author: Christopher Head <[email protected]> Date: Mon Aug 10 11:09:02 2020 -0700 server/gdb_server: fix incorrect condition check The warning message should be printed if the target is NOT halted, not if it IS halted. Change-Id: I0a38292a8a2e20e4a4a5ada92b475d551d4cbf38 Signed-off-by: Christopher Head <[email protected]> diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 61d7686..f94b728 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -1025,7 +1025,7 @@ static int gdb_new_connection(struct connection *connection) return ERROR_TARGET_NOT_EXAMINED; } - if (target->state == TARGET_HALTED) + if (target->state != TARGET_HALTED) LOG_WARNING("GDB connection %d on target %s not halted", gdb_actual_connections, target_name(target)); -- _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
