From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25651 invoked by alias); 22 Jul 2006 23:17:21 -0000 Received: (qmail 25642 invoked by uid 22791); 22 Jul 2006 23:17:20 -0000 X-Spam-Check-By: sourceware.org Received: from 203.197.88.2.ILL-PUNE.static.vsnl.net.in (HELO marvin.codito.net) (203.197.88.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 22 Jul 2006 23:17:18 +0000 Received: from [59.95.7.13] ([59.95.7.13]) (authenticated bits=0) by marvin.codito.net (8.13.5/8.13.5/Debian-3) with ESMTP id k6MNKsBn022892 for ; Sun, 23 Jul 2006 04:50:55 +0530 Message-ID: <44C2B06A.5010607@codito.com> Date: Sun, 23 Jul 2006 22:36:00 -0000 From: Kunal Parmar Reply-To: kunal.parmar@codito.com User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: 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> In-Reply-To: <20060722200909.GA21091@nevyn.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00152.txt.bz2 Hi, No it is the correct libc. Debugging works normally after the libraries are loaded. Daniel Jacobowitz wrote: > 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. > > -- Kunal Parmar Software Developer Codito Technologies Pvt. Ltd. (http://www.codito.com)