This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Implement post_event for Python scripts.
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org, Phil Muldoon <pmuldoon at redhat dot com>
- Date: Wed, 18 Aug 2010 12:13:29 -0600
- Subject: Re: [patch] Implement post_event for Python scripts.
- References: <4C45F0B0.5000903@redhat.com> <201008181445.52900.pedro@codesourcery.com>
>>>>> "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