From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5763 invoked by alias); 7 Dec 2006 14:36:51 -0000 Received: (qmail 5755 invoked by uid 22791); 7 Dec 2006 14:36:50 -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 14:36:40 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1GsKMY-0003KV-Dr; Thu, 07 Dec 2006 09:36:38 -0500 Date: Thu, 07 Dec 2006 14:36:00 -0000 From: Daniel Jacobowitz To: Anitha Boyapati Cc: gdb@sourceware.org Subject: Re: break points for shared libs Message-ID: <20061207143638.GA12776@nevyn.them.org> Mail-Followup-To: Anitha Boyapati , gdb@sourceware.org References: 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/msg00058.txt.bz2 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. -- Daniel Jacobowitz CodeSourcery