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.


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


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