From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2233 invoked by alias); 15 Oct 2008 10:53:07 -0000 Received: (qmail 2224 invoked by uid 22791); 15 Oct 2008 10:53:06 -0000 X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 15 Oct 2008 10:52:24 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Kq3zJ-0003WE-Qn for gdb@sourceware.org; Wed, 15 Oct 2008 03:52:21 -0700 Message-ID: <19991123.post@talk.nabble.com> Date: Wed, 15 Oct 2008 10:53:00 -0000 From: rimon To: gdb@sourceware.org Subject: Re: gdb - loading symbols of shared library In-Reply-To: <8ac60eac0810120835t4e3426b1w40ec632fc9d0f59@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: rorni@yahoo.com References: <19941465.post@talk.nabble.com> <8ac60eac0810120835t4e3426b1w40ec632fc9d0f59@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-10/txt/msg00065.txt.bz2 Most often this is the result of libodbcinst.so being compiled > with 'gcc -g -O2'. Compiler has optimized the variable out. > This indeed seems to be the problem - I re-compiled libodbcinst.so without -O and now I can see the symbols! -- View this message in context: http://www.nabble.com/gdb---loading-symbols-of-shared-library-tp19941465p19991123.html Sent from the Sourceware - gdb list mailing list archive at Nabble.com.