From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27883 invoked by alias); 17 May 2006 19:35:03 -0000 Received: (qmail 27874 invoked by uid 22791); 17 May 2006 19:35:03 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 17 May 2006 19:35:01 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FgRnO-0003Vn-Rm; Wed, 17 May 2006 15:34:58 -0400 Date: Wed, 17 May 2006 19:35:00 -0000 From: Daniel Jacobowitz To: Mikhail Teterin Cc: insight@sourceware.org, gdb-patches@sources.redhat.com Subject: Re: Single-executable patch Message-ID: <20060517193458.GA13435@nevyn.them.org> Mail-Followup-To: Mikhail Teterin , insight@sourceware.org, gdb-patches@sources.redhat.com References: <200605162201.33772.mi+mx@aldan.algebra.com> <200605171502.18798.mi+mx@aldan.algebra.com> <20060517190737.GB12559@nevyn.them.org> <200605171527.35587.mi+mx@aldan.algebra.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605171527.35587.mi+mx@aldan.algebra.com> User-Agent: Mutt/1.5.11+cvs20060403 Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2006-q2/txt/msg00041.txt.bz2 On Wed, May 17, 2006 at 03:27:35PM -0400, Mikhail Teterin wrote: > ?????? 17 ??????? 2006 15:07, Daniel Jacobowitz ???????: > > This has been a world of trouble for other programs in the past, > > I wonder, what kind of trouble? Portability. There are many other platforms out there and many of them are very strange... > > If this is all you want, here's a simple implementation: > > > > /usr/bin/gdbtui: > > #!/usr/bin/gdb -i=tui > > Cool! I wonder, why even bother linking other executables... It would make > sense to do it, if, for example, the gdb was not linking with Tcl and > friends, but it does anyway... It's easier if you only want one of them, and if you aren't installing in fixed paths. Portably locating the invoked shell script is also a bit tricky. -- Daniel Jacobowitz CodeSourcery