From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1627 invoked by alias); 11 Sep 2005 04:35:06 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 1618 invoked by uid 22791); 11 Sep 2005 04:35:02 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sun, 11 Sep 2005 04:35:02 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1EEJY7-0005J3-5b; Sun, 11 Sep 2005 00:34:39 -0400 Date: Sun, 11 Sep 2005 04:35:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: Qunying Pan , gdb-patches@sources.redhat.com, qunyingpan@gmail.com Subject: Re: Patch: fix gdb_gcore.sh failure in ash/dash Message-ID: <20050911043439.GA20313@nevyn.them.org> Mail-Followup-To: Michael Snyder , Qunying Pan , gdb-patches@sources.redhat.com, qunyingpan@gmail.com References: <432240C1.9000308@mvista.com> <4323846C.3090303@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4323846C.3090303@redhat.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-09/txt/msg00071.txt.bz2 On Sat, Sep 10, 2005 at 06:12:12PM -0700, Michael Snyder wrote: > Qunying Pan wrote: > >Hi, > > > >Running gdb_gcore.sh in ash/dash fails with message "Hangup detected on > >fd 0". The following patch fixes the problem. Acceptable? > > > >Thanks, > > > >Qunying > > That's creative. I assume it tests out OK with bash? Anybody know how portable /dev/stdin is? I've got no idea, but I'm a bit worried that it won't be portable enough. It may be simpler to remove the clever bits and use a temporary file. I don't suppose you know which fixes the ash problem - the -batch or the -x? -- Daniel Jacobowitz CodeSourcery, LLC