From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20883 invoked by alias); 22 Jul 2006 20:38:44 -0000 Received: (qmail 20874 invoked by uid 22791); 22 Jul 2006 20:38:43 -0000 X-Spam-Check-By: sourceware.org Received: from sadr.equallogic.com (HELO sadr.equallogic.com) (66.155.203.134) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 22 Jul 2006 20:38:39 +0000 Received: from sadr.equallogic.com (localhost.localdomain [127.0.0.1]) by sadr.equallogic.com (8.12.8/8.12.8) with ESMTP id k6MJcd3x027318 for ; Sat, 22 Jul 2006 15:38:39 -0400 Received: from M31.equallogic.com (M31.equallogic.com [172.16.1.31]) by sadr.equallogic.com (8.12.8/8.12.8) with SMTP id k6MJcc6B027313; Sat, 22 Jul 2006 15:38:38 -0400 Received: from PKONING.equallogic.com ([172.16.3.110]) by M31.equallogic.com with Microsoft SMTPSVC(6.0.3790.211); Sat, 22 Jul 2006 16:38:38 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17602.36034.46000.74380@gargle.gargle.HOWL> Date: Sat, 22 Jul 2006 21:07:00 -0000 From: Paul Koning To: drow@false.org Cc: gdb@sources.redhat.com Subject: Re: shared library symbols not loaded automatically References: <44B53A5D.7090505@codito.com> <20060712181525.GA26898@nevyn.them.org> <44C0E7F0.1010506@codito.com> <20060722200909.GA21091@nevyn.them.org> X-Mailer: VM 7.07 under 21.4 (patch 10) "Military Intelligence (Windows)" XEmacs Lucid X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00150.txt.bz2 >>>>> "Daniel" == Daniel Jacobowitz writes: Daniel> On Fri, Jul 21, 2006 at 08:12:56PM +0530, Kunal Parmar wrote: >> Hi Daniel, I am not clear how setting solib-absolute-prefix will >> solve this problem. The manual says that it is used as a prefix >> for searching the libraries at runtime. When I use the command >> sharedlibrary at the gdb prompt, the libraries are correctly >> loaded. Doesn't this mean that I do not need to set the >> solib-absolute-prefix?? Daniel> Not if they're the wrong libraries. Daniel> You may be loading literally "/lib/libc.so.6" on your host - Daniel> an i386 library. It would be a good feature if GDB didn't do that for crossbuilds, because it can't possibly be correct... paul