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.


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.
>>
>> Thanks,
>> Jan
>>
>


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