This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Async patch (no. 3)


 > I'm agreeable in principle, though I don't have time to review it as
 > well as I'd like at the moment.  Thank you for all your hard work on
 > this!  I'll try hard to make the time.

Thanks.  There's no great urgency on my part, I just need it for after Emacs
release.  It's about to go to pretest but this will probably be a drawn out
process if the two and a half year feature freeze is anything to go by.

 > I think you will need to add new target_ops methods; probably one to
 > set up async waiting and another to clean up afterwards.  There
 > shouldn't be any reference to SIGCHLD directly in the common files (I'm
 > thinking about how to make this work on Windows, you see).

OK, I'll try that.

In the meantime, I've noticed that the patch forces GDB to run synchronously.
In target.c, update_current_target must be made to inherit async methods again.
This means that server-run.exp still doesn't work (and probably any test which
changes to a synchronous target).  I'll include this when I submit a cleaned up
patch.


-- 
Nick                                           http://www.inet.net.nz/~nickrob


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]