From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14807 invoked by alias); 22 Jul 2006 20:09:19 -0000 Received: (qmail 14792 invoked by uid 22791); 22 Jul 2006 20:09:18 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sat, 22 Jul 2006 20:09:16 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1G4Nmg-0005Ug-1U; Sat, 22 Jul 2006 16:09:10 -0400 Date: Sat, 22 Jul 2006 20:09:00 -0000 From: Daniel Jacobowitz To: Kunal Parmar Cc: gdb@sources.redhat.com Subject: Re: shared library symbols not loaded automatically Message-ID: <20060722200909.GA21091@nevyn.them.org> Mail-Followup-To: Kunal Parmar , gdb@sources.redhat.com References: <44B53A5D.7090505@codito.com> <20060712181525.GA26898@nevyn.them.org> <44C0E7F0.1010506@codito.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44C0E7F0.1010506@codito.com> User-Agent: Mutt/1.5.11+cvs20060403 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/msg00147.txt.bz2 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?? Not if they're the wrong libraries. You may be loading literally "/lib/libc.so.6" on your host - an i386 library. -- Daniel Jacobowitz CodeSourcery