From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24042 invoked by alias); 7 Dec 2006 15:03:50 -0000 Received: (qmail 24034 invoked by uid 22791); 7 Dec 2006 15:03:49 -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; Thu, 07 Dec 2006 15:03:37 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1GsKmd-0003cP-Em; Thu, 07 Dec 2006 10:03:35 -0500 Date: Thu, 07 Dec 2006 15:03:00 -0000 From: Daniel Jacobowitz To: Anitha Boyapati Cc: gdb@sourceware.org Subject: Re: break points for shared libs Message-ID: <20061207150335.GA13887@nevyn.them.org> Mail-Followup-To: Anitha Boyapati , gdb@sourceware.org References: <20061207143638.GA12776@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) 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: 2006-12/txt/msg00060.txt.bz2 On Thu, Dec 07, 2006 at 07:40:03PM +0530, Anitha Boyapati wrote: > On Thu, 7 Dec 2006, Daniel Jacobowitz wrote: > > > On Thu, Dec 07, 2006 at 05:34:29PM +0530, Anitha Boyapati wrote: > > > I want to set breakpoints in shared lib sources while executing another > > > program.But the symbol is being overridden whenever I use > > > > > > file test.so > > > > Don't use file. It needs to be automatic or it won't work at all. > > > > > warning: shared library handler failed to enable breakpoint > > > > This is the problem. You didn't say what platform you're debugging, > > how you're running GDB, or anything else - one of those is to blame. > > Sorry! > gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20) > This GDB was configured as "i386-redhat-linux-gnu". What system are you running GDB on? How are you running GDB? Please send a transcript of a session which demonstrates the warning. -- Daniel Jacobowitz CodeSourcery