[RFA] Report the main thread.

Vladimir Prus vladimir@codesourcery.com
Sat Apr 26 17:31:00 GMT 2008


Mark Kettenis wrote:

>> From: Vladimir Prus <vladimir@codesourcery.com>
>> Date: Sat, 26 Apr 2008 20:05:17 +0400
>> 
>> Presently, on Linux, we do add the main thread to the thread list, but we
>> fail to report this new thread to outside world.  I think we should not
>> do any such special-casing -- if we want the =thread-created notification
>> to be usable as replacement for getting the thread, we better emit that
>> for all new thread.
> 
> I disagree.  The "main" thread is not a new thread, but has been there
> all along.  Users would be terribly confused you'd report some sort of
> thread creation event here.

Will some approach that only produce MI output be fine with you?

- Volodya





More information about the Gdb-patches mailing list