This is the mail archive of the
mailing list for the GDB project.
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
> <firstname.lastname@example.org> wrote:
> >>> + Â Â Â Â Â Â Â argv, 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.