From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30067 invoked by alias); 9 Aug 2011 03:03:23 -0000 Received: (qmail 30059 invoked by uid 22791); 9 Aug 2011 03:03:23 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Aug 2011 03:03:09 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p7932vIf029371 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 8 Aug 2011 23:02:57 -0400 Received: from psique ([10.3.112.5]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p7932oH8002788; Mon, 8 Aug 2011 23:02:52 -0400 From: Sergio Durigan Junior To: Abhijit Halder Cc: Eli Zaretskii , tromey@redhat.com, pedro@codesourcery.com, gdb-patches@sourceware.org, jan.kratochvil@redhat.com Subject: Re: [PATCH] An implementation of pipe to make I/O communication between gdb and shell. References: <201108041029.37721.pedro@codesourcery.com> <83pqkjx578.fsf@gnu.org> Date: Tue, 09 Aug 2011 03:03:00 -0000 In-Reply-To: (Abhijit Halder's message of "Mon, 8 Aug 2011 15:30:32 +0530") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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/msg00169.txt.bz2 Abhijit Halder writes: > On Sun, Aug 7, 2011 at 3:50 AM, Sergio Durigan Junior > wrote: >>> +struct pipe_obj >>> +{ >>> + =C2=A0/* The delimiter to separate out gdb-command and shell-command.= This can be >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0^^ > Sorry, here I am not clear. Do you mean to say I should remove - in > between gdb and command? No. I meant you should add two spaces after the period. Instead of: "... and shell-command. This can be" you should write: "... and shell-command. This can be" >>> + =C2=A0/* The pex object use to create pipeline between gdb and shell.= =C2=A0*/ >> > Here I guess I have put 2 space character between . (period) and */. Yes. Regards.