[PATCH] An implementation of pipe to make I/O communication between gdb and shell.

Abhijit Halder abhijit.k.halder@gmail.com
Sat Aug 13 23:18:00 GMT 2011


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
>>
>



More information about the Gdb-patches mailing list