This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
async implies sync, was Re: Merge of nickrob-async-20060513 to mainline?
On Sun, 2006-10-08 at 16:43 +1300, Nick Roberts wrote:
> define.exp fails with the script nextwhere. Asynchronous operation means that
> it tries to do `where' before 'next' has finished. Perhaps scripts should be
> forced to run synchronously.
Hmm, boy, that's a good point. In fact, you know what?
I think we need some sort of synchronization primatives,
since the target and gdb can now run in parallel.
Every time we do a step/next/continue/until, and come
back to the gdb prompt before the target has stopped,
we've effectively done a "fork". At an absolute minimum,
I think we need a "join" or a "wait".