commit | 67cf0bd885e3862fb77de0039208d39cc89dba91 | [log] [tgz] |
---|---|---|
author | Tom de Vries <tdevries@suse.de> | Thu Feb 22 11:35:26 2024 +0100 |
committer | Tom de Vries <tdevries@suse.de> | Thu Feb 22 11:35:26 2024 +0100 |
tree | 5a5813a88203390dc417d6f6ab22552287204e2d | |
parent | 852784a93664e59be090a518e6d83464bcc0cf00 [diff] |
[gdb/dap] Factor out thread_log In thread_wrapper I used a style where a message is prefixed with the thread name. Factor this out into a new function thread_log. Also treat the GDB main thread special, because it's usual name is MainThread: ... MainThread: <msg> ... which is the default name assigned by python, so instead use the more explicit: ... GDB main: <msg> ... Tested on aarch64-linux. Approved-By: Tom Tromey <tom@tromey.com>