From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5003 invoked by alias); 18 Jun 2003 19:14:05 -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 4985 invoked from network); 18 Jun 2003 19:14:04 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 18 Jun 2003 19:14:04 -0000 Received: from dsl093-172-017.pit1.dsl.speakeasy.net ([66.93.172.17] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19SiOP-00087P-00; Wed, 18 Jun 2003 14:14:49 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19SiNY-0002T0-00; Wed, 18 Jun 2003 15:13:56 -0400 Date: Wed, 18 Jun 2003 19:14:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: Kris Warkentin , Kevin Buettner , "Gdb@Sources.Redhat.Com" Subject: Re: Why does solib_open do what it does? Message-ID: <20030618191356.GA9449@nevyn.them.org> Mail-Followup-To: Michael Snyder , Kris Warkentin , Kevin Buettner , "Gdb@Sources.Redhat.Com" References: <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> <003301c33594$3e6bccf0$2a00a8c0@dash> <008e01c335ab$72a101e0$0202040a@catdog> <3EF0B485.6050805@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EF0B485.6050805@redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-06/txt/msg00393.txt.bz2 On Wed, Jun 18, 2003 at 11:50:45AM -0700, Michael Snyder wrote: > > * If available, use target defined search function. > > * Look in inferior's $PATH. > > * Look in inferior's $LD_LIBRARY_PATH. > > I rather think that $PATH and $LD_LIBRARY_PATH should be native-only. > But come to think of it, do remote targets even have environment variables? > And if so -- do they inherit them from gdb / the host? If there's a > gdbserver-type situation, and if the server is able to provide the true > environment variables from the target, then yes, we should use these. > But I don't recall any gdbserver ever offering that functionality. None of the in-tree supported remote targets do. It's not in the current remote protocol as far as I know. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer