This is an automated email from Gerrit.

Antonio Borneo (borneo.anto...@gmail.com) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/5525

-- gerrit

commit 302dc62fa295bd9f5e9aa5f3a1412d13e83b74ec
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Mon Mar 16 14:53:18 2020 +0100

    gdb_server: print the target associated to the gdb port
    
    While running OpenOCD on multi-target SoC, it's not immediate to
    detect which target is associated to each GDB port. The log only
    reports:
        Info : Listening on port 3333 for gdb connections
    and a verbose debug log is required to get such info.
    
    Promote to LOG_INFO() the existing debug message that already
    reports the association, obtaining for each port:
        Info : starting gdb server for stm32mp15x.cpu0 on 3333
        Info : Listening on port 3333 for gdb connections
    
    Change-Id: I1bd75655a3449222c959e6e82f5e0f8f5acd908a
    Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com>

diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index 0ca4fa4..3f2632b 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -3489,7 +3489,7 @@ static int gdb_target_start(struct target *target, const 
char *port)
        if (NULL == gdb_service)
                return -ENOMEM;
 
-       LOG_DEBUG("starting gdb server for %s on %s", target_name(target), 
port);
+       LOG_INFO("starting gdb server for %s on %s", target_name(target), port);
 
        gdb_service->target = target;
        gdb_service->core[0] = -1;

-- 


_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to