Re: RFC: MI output during program execution

Daniel Jacobowitz
2005-10-03T20:31:11Z

On Tue, Oct 04, 2005 at 08:29:32AM +1300, Nick Roberts wrote:
> Daniel Jacobowitz writes:
> > Sorry, miscommunication. You don't need approval to create a branch;
> > go right ahead.
>
> OK. Thanks.
>
> > I violently dislike the idea of linking gdb with pthreads. I'm
> > confident that we can get the benefits without that, however. I've got
> > this patch sitting in my queue of things to play with.
>
> I know this will sound stupid but what is the alternative? Using fork?

Doing it "asynchronously" through the GDB event loop, which is I
believe the same way we handle remote async targets. All in one
process.

This is a little more complicated to design, however, it's got less
complexity at runtime. I've spent enough of my life using GDB on
systems where pthreads didn't work that I don't want to make GDB
dependent on them.

--
Daniel Jacobowitz
CodeSourcery, LLC