From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25630 invoked by alias); 13 Aug 2011 23:17:06 -0000 Received: (qmail 25622 invoked by uid 22791); 13 Aug 2011 23:17:05 -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-ew0-f41.google.com (HELO mail-ew0-f41.google.com) (209.85.215.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 13 Aug 2011 23:16:49 +0000 Received: by ewy9 with SMTP id 9so1807853ewy.0 for ; Sat, 13 Aug 2011 16:16:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.4.82 with SMTP id 18mr788598ebq.64.1313277407651; Sat, 13 Aug 2011 16:16:47 -0700 (PDT) Received: by 10.213.31.202 with HTTP; Sat, 13 Aug 2011 16:16:47 -0700 (PDT) In-Reply-To: <20110813205053.GB22058@host1.jankratochvil.net> References: <201108041029.37721.pedro@codesourcery.com> <83pqkjx578.fsf@gnu.org> <20110813205053.GB22058@host1.jankratochvil.net> Date: Sat, 13 Aug 2011 23:17: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/msg00281.txt.bz2 >> + =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 note= d. > > > Thanks, > Jan >