[RFA] Thread exit messages on MS-Windows
Tom Tromey
tromey@redhat.com
Mon Apr 29 19:26:00 GMT 2013
>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
>> In thread.c, I see that add_thread_with_info will announce new threads
>> if print_thread_events is non-zero, but I see no similar announcement
>> in delete_thread or its subroutines. Is this supposed to be handled
>> by target-specific back ends? I see something like that in, e.g.,
>> linux-nat.c and in inf-ttrace.c, but I'm unsure whether that is a
>> conclusive evidence.
>>
>> If indeed thread deletion should be announced by the target, why this
>> asymmetry with thread creation?
Eli> No one replied, so I'm now converting this into an RFA. The patch
Eli> below causes GDB on Windows to display thread exit messages like this:
I didn't answer, but I also wonder why it is not done by delete_thread.
Tom
More information about the Gdb-patches
mailing list