diff options
author | Tom de Vries <tdevries@suse.de> | 2024-02-22 11:35:26 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-02-22 11:35:26 +0100 |
commit | 67cf0bd885e3862fb77de0039208d39cc89dba91 (patch) | |
tree | 5a5813a88203390dc417d6f6ab22552287204e2d /gdb/testsuite/gdb.dap | |
parent | 852784a93664e59be090a518e6d83464bcc0cf00 (diff) | |
download | binutils-67cf0bd885e3862fb77de0039208d39cc89dba91.zip binutils-67cf0bd885e3862fb77de0039208d39cc89dba91.tar.gz binutils-67cf0bd885e3862fb77de0039208d39cc89dba91.tar.bz2 |
[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>
Diffstat (limited to 'gdb/testsuite/gdb.dap')
0 files changed, 0 insertions, 0 deletions