[PATCH v2 1/3] [gdb/dap] Factor out thread_log
Tom Tromey
tom@tromey.com
Wed Feb 21 21:07:06 GMT 2024
>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:
Tom> In thread_wrapper I used a style where a message is prefixed with the thread
Tom> name.
Tom> Factor this out into a new function thread_log.
Tom> Also treat the GDB main thread special, because it's usual name is MainThread:
Tom> ...
Tom> MainThread: <msg>
Tom> ...
Tom> which is the default name assigned by python, so instead use the more
Tom> explicit:
Tom> ...
Tom> GDB main: <msg>
Tom> ...
Thanks, this is ok.
Approved-By: Tom Tromey <tom@tromey.com>
Tom
More information about the Gdb-patches
mailing list