From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11831 invoked by alias); 26 Apr 2008 16:44:53 -0000 Received: (qmail 11823 invoked by uid 22791); 26 Apr 2008 16:44:53 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 26 Apr 2008 16:44:33 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JpnVl-00012s-5R for gdb-patches@sources.redhat.com; Sat, 26 Apr 2008 16:44:29 +0000 Received: from 78.158.192.230 ([78.158.192.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Apr 2008 16:44:29 +0000 Received: from vladimir by 78.158.192.230 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Apr 2008 16:44:29 +0000 To: gdb-patches@sources.redhat.com From: Vladimir Prus Subject: Re: [RFA] Report the main thread. Date: Sat, 26 Apr 2008 17:31:00 -0000 Message-ID: References: <200804262005.18646.vladimir@codesourcery.com> <200804261617.m3QGH9dv027362@brahms.sibelius.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.5 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00599.txt.bz2 Mark Kettenis wrote: >> From: Vladimir Prus >> 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