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. [MinGW question]


On Sun, 14 Aug 2011 01:18:34 +0200, Abhijit Halder wrote:
> On Sun, Aug 14, 2011 at 4:46 AM, Abhijit Halder
> <abhijit.k.halder@gmail.com> wrote:
> >>> + Â Â Â Â Â Â Â argv[0], argv,
> >>
> >> It does not work in one of the intended modes:
> >> (gdb) pipe | print 1 | cat >/dev/null
> >> cat: >/dev/null: No such file or directory
> >>
> >> You do not have to parse ARGV yourself, one can just run "/bin/sh", "-c",
> >> COMMAND, NULL (sure no PEX_SEARCH needed then).
> >>
> > I am sure, but will this wrok in windows platform?
> >> And the documentation, NEWS entry and testcase is missing as already noted.
> >>
> Sorry for the typo. I meant to say I am NOT sure whether the given
> solution will work in windows platform.

I guess it will work in Cygwin but it probably does not work in MinGW but that
is outside of my knowledge, MinGW advice needed, thanks for noticing it.


Thanks,
Jan


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