]> git.sur5r.net Git - openocd/commit
server: gdb: always print target information in multi-target setups
authorPaul Fertser <fercerpav@gmail.com>
Wed, 17 May 2017 08:03:19 +0000 (11:03 +0300)
committerPaul Fertser <fercerpav@gmail.com>
Sat, 13 Jan 2018 08:44:57 +0000 (08:44 +0000)
commit12a838c6d4b9232e495285edee76636f87cf32e5
tree19f8f09593e2e0d7d8fd6587ec8a0556802b53e9
parentb95e0c13aa64ebbc8407ce8b974b1efd44df84c9
server: gdb: always print target information in multi-target setups

When multiple targets are declared, it's not always obvious which
target the connection was made for, this can lead to very confusing
errors.

Reported by zjason on IRC.

Change-Id: I52906320394e89cb6cfe82054a3f94b27c999689
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/4135
Tested-by: jenkins
src/server/gdb_server.c