From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2133 invoked by alias); 20 Feb 2003 19:55:27 -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 2126 invoked from network); 20 Feb 2003 19:55:26 -0000 Received: from unknown (HELO mx1.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 20 Feb 2003 19:55:26 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h1KJtQN10426 for ; Thu, 20 Feb 2003 14:55:26 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h1KJtQf00836; Thu, 20 Feb 2003 14:55:26 -0500 Received: from localhost.localdomain (vpn50-1.rdu.redhat.com [172.16.50.1]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h1KJtPt20251; Thu, 20 Feb 2003 14:55:25 -0500 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h1KJtKK10743; Thu, 20 Feb 2003 12:55:20 -0700 Date: Thu, 20 Feb 2003 19:55:00 -0000 From: Kevin Buettner Message-Id: <1030220195520.ZM10742@localhost.localdomain> In-Reply-To: "Kris Warkentin" "Re: GDB honouring RPATH in binaries." (Feb 20, 2:41pm) References: <0db801c2d914$78f80a50$0202040a@catdog> <1030220193301.ZM10611@localhost.localdomain> <000701c2d918$02918950$0202040a@catdog> To: "Kris Warkentin" , Subject: Re: GDB honouring RPATH in binaries. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-02/txt/msg00437.txt.bz2 On Feb 20, 2:41pm, Kris Warkentin wrote: > > With regard to the remote case, I would have thought that simply > > prepending solib-absolute-prefix would give the correct results. > > Well, let's say I upload my program and libs to /tmp on the remote with the > binary's RPATH set to /tmp. I'm debugging on Cygwin in /home/kewarken/test. > My solib-absolute-prefix and solib-search-path are based in > c:\QNXsdk\target\qnx6 (where all the libs are stored). This is why I'm not > convinced that there's any nice way to use RPATH in the remote case. I see what you mean. Unless you're using an NFS mount, it's unlikely for the sys-root on the host to contain the stuff you've just uploaded to /tmp. In this case, I think it would make sense to use solib-search-path to find the libraries that you've uploaded to /tmp. Kevin