From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10815 invoked by alias); 13 Aug 2010 14:08:50 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 10804 invoked by uid 22791); 13 Aug 2010 14:08:49 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Date: Fri, 13 Aug 2010 14:08:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: Roland McGrath , Oleg Nesterov , archer@sourceware.org, utrace-devel@redhat.com Subject: Re: problems with v3 Message-ID: <20100813140836.GA23004@caradoc.them.org> Mail-Followup-To: Tom Tromey , Roland McGrath , Oleg Nesterov , archer@sourceware.org, utrace-devel@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-SW-Source: 2010-q3/txt/msg00109.txt.bz2 On Thu, Aug 12, 2010 at 10:37:18PM -0600, Tom Tromey wrote: > Roland> I don't really know the gdb code, but I'm surprised it really > Roland> has multiple different "serial" backends. > > I don't know this area well, but considering that ser-unix.c is just > chock full of tty-related goo, I think it is probably important for > something. My impression is that this API is not just used for target > communication but also for manipulating gdb's own terminal. Correct. Also, the abstraction layer is important on non-Unix systems; "everything is a file descriptor" works poorly on Windows :-) -- Daniel Jacobowitz CodeSourcery