From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11079 invoked by alias); 13 Aug 2010 21:15:14 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 11069 invoked by uid 22791); 13 Aug 2010 21:15:13 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Date: Fri, 13 Aug 2010 21:15:00 -0000 From: Oleg Nesterov To: Tom Tromey Cc: Roland McGrath , archer@sourceware.org, utrace-devel@redhat.com Subject: Re: problems with v3 Message-ID: <20100813211224.GB18689@redhat.com> References: <20100811235810.GA9783@redhat.com> <20100812011113.GA13212@redhat.com> <20100812023750.GA17011@redhat.com> <20100812235228.GA15051@redhat.com> <20100813015844.B7703400E3@magilla.sf.frob.com> <20100813082949.93D1E400E3@magilla.sf.frob.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-SW-Source: 2010-q3/txt/msg00115.txt.bz2 On 08/13, Tom Tromey wrote: > > Roland> However, I think the test you probably want is !S_ISCHR. > > Thanks. I wasn't sure. > > Roland> Actually, better yet, just make it !isatty (fd). > > Ok. Good. IIUC, this also allows to remove the ugly "return 0 to pretend TCGETS/TCSETS/TCFLSH works" from ->ioctl(). > I made a new branch, 'archer-ugdb'. I assume, you mean git://sourceware.org/git/gdb.git ? > This patch is there. (Actually 2 patches due to me not reading > carefully enough the first time -- but whatever.) > > Oleg, use this branch and give the feature a try. Yes, once I resolve the current problems I'll test it. Thanks! Oleg.