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: [patch] Implement post_event for Python scripts.


>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:

Pedro> It was brought to my attention that this unfortunatly breaks
Pedro> Windows builds:

Oops, sorry about that.

Pedro> The expedient way to fix this I guess would be to resurrect gdb_pipe
Pedro> from that patch, so that we have a consistent way across hosts
Pedro> to create a pipe.  

Pedro> I do agree that using pipes on common code to wake up the event loop
Pedro> is tackling at the wrong level (we should have an abstracted way to
Pedro> do this, using pipes on posix hosts, events on Windows, etc.), but,
Pedro> I'm happy with a simpler way for now.

Any way is ok by me, but the existing event code in mingw-hdep.c looks
pretty simple too.  I don't understand all of it, but I could try to
make a patch taking this direction if you want.  Just let me know.

Tom


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