On Fri, Sep 01, 2006 at 11:31:14AM +1200, Nick Roberts wrote:
It's their choice to make GDB multi-threaded. I'm just saying
it's an
example of where it seems to work in practice.
Nick, what you're up against is that this is an old discussion.
We've tossed around the idea of making gdb a multi-threaded app
for years, and for various reasons, we've decided against it.
If it's an old discussion, it was presumably before NPTL, when
LinuxThreads
was used.
More likely it was before Linux was a relevant platform at all. GDB
isn't all about GNU/Linux.
Anyway, I don't see the point in worrying about this. We'll try to
come up with an interface that lets an extra thread, if necessary,
be contained to native files on platforms that really need it due to
quirks of their debug interface; I vaguely recall hearing that Darwin
was such a platform.
I don't think any of the other native debug interfaces I'm familiar
with qualify.
--
Daniel Jacobowitz
CodeSourcery