This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Report the main thread.


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]