[PATCH 2/2] [gdb] Initialize main_thread_id earlier

Tom Tromey tom@tromey.com
Wed Aug 2 20:48:44 GMT 2023


>>>>> "Tom" == Tom de Vries via Gdb-patches <gdb-patches@sourceware.org> writes:

>> If we think it's safe enough to initialize it on first use, just
>> moving
>> the definition into is_main_thread is enough to avoid this problem.
>> 

Tom> Done.

This wasn't really what I meant but it's not important.

Approved-By: Tom Tromey <tom@tromey.com>

Tom


More information about the Gdb-patches mailing list