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] An implementation of pipe to make I/O communication between gdb and shell.


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

I haven't really read this thread yet, but I wanted to chime in...

>> +      pipe->handle = popen (pipe->shell_cmd, pipe->mode);

Pedro> I'm not sure that'll build on all supported hosts.  
Pedro> I think on Windows that may require use of _popen instead.

libiberty has the already-portable 'pexecute' code for this kind of
thing.

Tom


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