gdb_server: Include thread name as XML attribute
commit7307fd0e3faa7b3e060a722775c532bcb7f70057
authorBen McMorran <bemcmorr@microsoft.com>
Thu, 27 Jan 2022 22:30:58 +0000 (27 14:30 -0800)
committerAntonio Borneo <borneo.antonio@gmail.com>
Mon, 14 Feb 2022 15:12:45 +0000 (14 15:12 +0000)
treecfb46abae9590abadb9439748b23adb4740fe4d6
parentf998a2aaf19c14b46fd7f7dd50607a0904f40bd3
gdb_server: Include thread name as XML attribute

Explicitly providing a thread name in the "thread" element produces
better thread visualizations in downstream tools like IDEs.

Signed-off-by: Ben McMorran <bemcmorr@microsoft.com>
Change-Id: I102c14ddb8b87757fa474de8e3a3f6a1cfe10d98
Reviewed-on: https://review.openocd.org/c/openocd/+/6828
Tested-by: jenkins
Reviewed-by: zapb <dev@zapb.de>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/server/gdb_server.c