From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15479 invoked by alias); 9 May 2003 20:10:52 -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 15449 invoked from network); 9 May 2003 20:10:52 -0000 Received: from unknown (HELO sccrmhc02.attbi.com) (204.127.202.62) by sources.redhat.com with SMTP; 9 May 2003 20:10:52 -0000 Received: from lucon.org (12-234-88-5.client.attbi.com[12.234.88.5]) by attbi.com (sccrmhc02) with ESMTP id <2003050920105200200h9p8ae>; Fri, 9 May 2003 20:10:52 +0000 Received: by lucon.org (Postfix, from userid 1000) id AF5CA2C681; Fri, 9 May 2003 13:10:49 -0700 (PDT) Date: Fri, 09 May 2003 20:10:00 -0000 From: "H. J. Lu" To: GDB Subject: Re: PATCH: Make sure gdb-cfg.texi is created Message-ID: <20030509131049.A6435@lucon.org> References: <20030509122434.A5769@lucon.org> <20030509193206.GA1189@nevyn.them.org> <20030509125943.A6257@lucon.org> <20030509200643.GA22341@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030509200643.GA22341@nevyn.them.org>; from drow@mvista.com on Fri, May 09, 2003 at 04:06:43PM -0400 X-SW-Source: 2003-05/txt/msg00140.txt.bz2 On Fri, May 09, 2003 at 04:06:43PM -0400, Daniel Jacobowitz wrote: > On Fri, May 09, 2003 at 12:59:43PM -0700, H. J. Lu wrote: > > On Fri, May 09, 2003 at 03:32:06PM -0400, Daniel Jacobowitz wrote: > > > On Fri, May 09, 2003 at 12:24:34PM -0700, H. J. Lu wrote: > > > > My gdb source tree is created with relative symlinks. ln -s won't work > > > > with them. Here is a patch to make sure gdb-cfg.texi is created. > > > > > > That patch doesn't make sense. You're saying that ln -s can succeed > > > when test -e would fail? > > > > > > > I got > > > > # bash > > # ln -s "doesn't exist" foo || echo bad > > # test -e foo || echo "doesn't exist" > > doesn't exist > > Sure, but then why would "ln" or "cp" work from "doesn't exist"? I have a tree with relative symlinks. all-cfg.texi in the source tree is # ls -l /export/gnu/src/gdb/gdb/gdb/doc/all-cfg.texi lrwxrwxrwx 1 hjl hjl 50 May 9 09:58 /export/gnu/src/gdb/gdb/gdb/doc/all-cfg.texi -> ../../../../../import/gdb/src/gdb/doc/all-cfg.texi Since my build dir != source dir, ../../../../../import/gdb/src/gdb/doc/all-cfg.texi doesn't exist in my build dir. H.J.