Non-stop multi-threaded debugging

Jim Blandy jimb@codesourcery.com
Tue Nov 20 20:12:00 GMT 2007


Nick Roberts <nickrob at snap.net.nz> writes:
>  > - We're to implement asynchronous interaction with GDB.
>  > 
>  >    GDB will be responsive to commands while the program is running.
>  >    This is mostly a consequence of supporting non-stop multi-threaded
>  >    debugging: it's the degenerate case where no threads happen to be
>  >    stopped.
>
> I don't expect Jim will cut his holiday short to answer this, so this is
> for when he gets back:
>
> Will this use any of the code in the patch that I sent you, or will you use
> an entirely different approach?

We won't be using an entirely different approach; the existing event
loop seems to be adequate for most purposes.  And we'll certainly need
to do something like what you did with the async_signal_hook.  So it's
likely we'll be using at least portions of your patch.



More information about the Gdb mailing list