From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1052 invoked by alias); 8 Jul 2009 15:49:51 -0000 Received: (qmail 1035 invoked by uid 22791); 8 Jul 2009 15:49:50 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-ew0-f228.google.com (HELO mail-ew0-f228.google.com) (209.85.219.228) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 08 Jul 2009 15:49:44 +0000 Received: by ewy28 with SMTP id 28so2166339ewy.24 for ; Wed, 08 Jul 2009 08:49:41 -0700 (PDT) Received: by 10.210.52.15 with SMTP id z15mr7061116ebz.99.1247068180922; Wed, 08 Jul 2009 08:49:40 -0700 (PDT) Received: from orlando (bl9-134-136.dsl.telepac.pt [85.242.134.136]) by mx.google.com with ESMTPS id 28sm70995eye.47.2009.07.08.08.49.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 08 Jul 2009 08:49:40 -0700 (PDT) From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: How to fix solib path name? Date: Wed, 08 Jul 2009 15:57:00 -0000 User-Agent: KMail/1.9.10 Cc: Aleksandar Ristovski , gdb-patches@sources.redhat.com References: <1247063678.3870.59.camel@pavilion> <200907081621.03189.pedro@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200907081649.41971.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00260.txt.bz2 Message-ID: <20090708155700.BoAFS5aB5Z2onnZxd9bnaBlszV7xvtzlwF_JDZEDjGs@z> On Wednesday 08 July 2009 16:37:31, Aleksandar Ristovski wrote: > >> What would you do differently? > > > > Use "(gdb) set sysroot". > > > > That is for absolute paths. For relative paths > find_and_open_solib is still a way to go IMHO - if you > disagree I would like to hear your rationale. Where would this look? What benefit does this have over solib-search-path? Windows dlls can be everywhere on the filesystem. -- Pedro Alves