[RFA] Report the main thread.

Michael Snyder msnyder@specifix.com
Mon May 12 22:22:00 GMT 2008


On Mon, 2008-05-12 at 02:09 +1200, Nick Roberts wrote:

> Yes, I could count the new-thread annotations and and only trigger things when
> there is more than one thread.  It's simpler if I don't have to and I'm just
> baffled why I need to go through these hoops for a small stop gap change that
> no-one else is interested in using.  The only requirement I can see on such a
> patch is that it doesn't affect anybody else's use of Gdb, and I think my
> original patch filled that requirement.

We used to have to do the same thing for CLI.
On Linux and Solaris (at least), as soon as you link
with the thread library, you would always get a main
thread (even if you hadn't created any subsidiary threads).
So we would suppress the "info threads" display unless
there was more than one thread.

Or so I seem to recall...





More information about the Gdb-patches mailing list