From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8102 invoked by alias); 18 Jun 2003 20:11:41 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 8067 invoked from network); 18 Jun 2003 20:11:41 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 18 Jun 2003 20:11:41 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h5IKBeH12036 for ; Wed, 18 Jun 2003 16:11:40 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h5IKBcS29130; Wed, 18 Jun 2003 16:11:39 -0400 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h5IKBcK18904; Wed, 18 Jun 2003 13:11:38 -0700 Message-ID: <3EF0C77A.5000007@redhat.com> Date: Wed, 18 Jun 2003 20:11:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz CC: Kevin Buettner , Kris Warkentin , "Gdb@Sources.Redhat.Com" Subject: Re: Why does solib_open do what it does? References: <09c201c33502$da555ce0$0202040a@catdog> <20030617191129.GA15099@nevyn.them.org> <09e801c33504$bd88b420$0202040a@catdog> <1030617200144.ZM31327@localhost.localdomain> <0ab001c3350d$359af2e0$0202040a@catdog> <1030617202406.ZM31423@localhost.localdomain> <3EEFAEDB.4090509@redhat.com> <005101c3353c$80077c70$2a00a8c0@dash> <1030618051511.ZM11645@localhost.localdomain> <3EF0B23E.8040406@redhat.com> <20030618191600.GB9449@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-06/txt/msg00397.txt.bz2 Daniel Jacobowitz wrote: > On Wed, Jun 18, 2003 at 11:41:02AM -0700, Michael Snyder wrote: > >>You don't think that gdb should honor LD_LIBRARY_PATH in native >>debugging, if it is set? Won't the linker-loader honor it? >> >>I'd be ready to agree that, if solib-search-path is set, >>it should override LD_LIBRARY_PATH. But if it isn't set... > > > As far as I'm concerned, the linker should always set the absolute > pathname, and we shouldn't be doing any of this junk. Well, but that is not in fact the case. For sure not on linux, and I don't think it is on solaris either.