This is the mail archive of the gdb-patches@sources.redhat.com 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: Support Windows in event-loop.c


Daniel Jacobowitz wrote:

Can't you borrow Cygwin's, or the one from Emacs that Eli referenced? No need to reinvent the wheel.

Yes, I'll try that. But, I don't want people to get false expectations; the one from Emacs is very incomplete. The one from Cygwin is very complete, but also appears complex and dependent on lots of other bits of Cygwin.


Now, assuming I can do this, do y'all want me to try to put this in libiberty, or in GDB itself?

I'm not personally aware of how to get anything other than a console handle into this loop. Can you give me a test procedure that should get me something else, given the currently limited functionality on (non-Cygwin) Windows? Otherwise, I'd still prefer to add the generality to select once I can test what I'm dealing with.


Try running gdb -i=mi piped to and from cat?

OK. Thanks.


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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