From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19009 invoked by alias); 5 Aug 2011 09:57:20 -0000 Received: (qmail 18998 invoked by uid 22791); 5 Aug 2011 09:57:18 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,TW_BT,TW_TD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 05 Aug 2011 09:57:05 +0000 Received: (qmail 933 invoked from network); 5 Aug 2011 09:57:04 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 5 Aug 2011 09:57:04 -0000 From: Pedro Alves To: Abhijit Halder Subject: Re: [PATCH] An implementation of pipe to make I/O communication between gdb and shell. Date: Fri, 05 Aug 2011 09:57:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.2; x86_64; ; ) Cc: Jan Kratochvil , gdb-patches@sourceware.org, Sergio Durigan Junior , Tom Tromey References: <20110805082947.GA5020@host1.jankratochvil.net> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201108051056.59135.pedro@codesourcery.com> 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/msg00100.txt.bz2 On Friday 05 August 2011 10:41:09, Abhijit Halder wrote: > I am not sure whether this restriction is meaningful. Ideally we > should not support any alpha-numeric character as a delimiter just > because of readability purpose. e.g. > (gdb) pipe dthread apply all btdvim - > Here d is delimiter. I don't think the above one is acceptable. Please > suggest me if we simply can put a restriction of not using any > alpha-numeric character as delimiter and that will do. > Secondly I believe by FOO you meant a single character and not a > string. Between delimiter and command there is no restriction of > having any white-space. Speaking for myself, when I wrote PIPE and FOO before, I really meant a string (with no whitespace), not a single character. In your example above: (gdb) pipe dthread apply all btdvim - the delimiter would be `dthread'. I see no reason to require it to be a single character. -- Pedro Alves