From: OpenOCD-Gerrit <ope...@us...> - 2020-04-12 21:04:57
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 16706256e43cfdf6eb6b66e98f12f7a77f142edb (commit) from 17ac52360fc27eed9f58506a102a32b653d4d48c (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 16706256e43cfdf6eb6b66e98f12f7a77f142edb Author: Antonio Borneo <bor...@gm...> 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 <bor...@gm...> Reviewed-on: http://openocd.zylin.com/5525 Tested-by: jenkins Reviewed-by: Jan Matyas <ma...@co...> Reviewed-by: Tarek BOCHKATI <tar...@gm...> diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 0ca4fa4ee..3f2632b03 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; ----------------------------------------------------------------------- Summary of changes: src/server/gdb_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Main OpenOCD repository |