From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1737 invoked by alias); 27 Apr 2008 13:53:11 -0000 Received: (qmail 1727 invoked by uid 22791); 27 Apr 2008 13:53:10 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 27 Apr 2008 13:52:50 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 6C9A0983D9; Sun, 27 Apr 2008 13:52:48 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 3F8BF98371; Sun, 27 Apr 2008 13:52:48 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1Jq7J8-0002Qr-KP; Sun, 27 Apr 2008 09:52:46 -0400 Date: Sun, 27 Apr 2008 15:50:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: Vladimir Prus , gdb-patches@sources.redhat.com Subject: Re: [RFA] Report the main thread. Message-ID: <20080427135246.GA9333@caradoc.them.org> Mail-Followup-To: Nick Roberts , Vladimir Prus , gdb-patches@sources.redhat.com References: <200804262005.18646.vladimir@codesourcery.com> <200804261617.m3QGH9dv027362@brahms.sibelius.xs4all.nl> <20080426185448.GA14511@caradoc.them.org> <18451.43847.127294.906184@kahikatea.snap.net.nz> <20080426224211.GA26195@caradoc.them.org> <18451.45857.500742.342261@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18451.45857.500742.342261@kahikatea.snap.net.nz> User-Agent: Mutt/1.5.17 (2007-12-11) 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/msg00620.txt.bz2 On Sun, Apr 27, 2008 at 10:56:33AM +1200, Nick Roberts wrote: > > > I still don't see the point in reporting the main thread. If there's more > > > than one thread the user can switch between them but what course of action > > > is available with just one thread? > > > > The GUI might have a thread list, for instance. > > But my question was "what could a user do with it?". AFAICS a thread list with > just one thread in it just looks like the output of the "frame" command. Well, for example, Eclipse's stack panel is organized as a multi-level list. It's got expanding items for each debug session, thread, and stack frame. So the main thread's backtrace is inside of an item containing the thread ID. -- Daniel Jacobowitz CodeSourcery