From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26136 invoked by alias); 13 Aug 2011 23:18:50 -0000 Received: (qmail 26128 invoked by uid 22791); 13 Aug 2011 23:18:50 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ey0-f169.google.com (HELO mail-ey0-f169.google.com) (209.85.215.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 13 Aug 2011 23:18:35 +0000 Received: by eye22 with SMTP id 22so2705820eye.0 for ; Sat, 13 Aug 2011 16:18:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.29.208 with SMTP id r16mr235177ebc.102.1313277514641; Sat, 13 Aug 2011 16:18:34 -0700 (PDT) Received: by 10.213.31.202 with HTTP; Sat, 13 Aug 2011 16:18:34 -0700 (PDT) In-Reply-To: References: <201108041029.37721.pedro@codesourcery.com> <83pqkjx578.fsf@gnu.org> <20110813205053.GB22058@host1.jankratochvil.net> Date: Sat, 13 Aug 2011 23:18:00 -0000 Message-ID: Subject: Re: [PATCH] An implementation of pipe to make I/O communication between gdb and shell. From: Abhijit Halder To: Jan Kratochvil Cc: Sergio Durigan Junior , Eli Zaretskii , tromey@redhat.com, pedro@codesourcery.com, gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-08/txt/msg00282.txt.bz2 On Sun, Aug 14, 2011 at 4:46 AM, Abhijit Halder wrote: >>> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 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 not= ed. >> Sorry for the typo. I meant to say I am NOT sure whether the given solution will work in windows platform. >> >> Thanks, >> Jan >> >