From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12756 invoked by alias); 7 Dec 2006 14:47:17 -0000 Received: (qmail 12742 invoked by uid 22791); 7 Dec 2006 14:47:17 -0000 X-Spam-Check-By: sourceware.org Received: from Unknown (HELO pdns.sankhya.co.in) (210.212.208.205) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 07 Dec 2006 14:47:01 +0000 Received: from sankhya.com (sankhya-external [192.168.1.2]) by pdns.sankhya.co.in (8.12.11/8.12.10) with ESMTP id kB7E4n9M029991; Thu, 7 Dec 2006 19:34:49 +0530 Received: from sankhya.com (localhost [127.0.0.1]) by sankhya.com (8.12.8/8.12.5) with ESMTP id kB7EA8eD011568; Thu, 7 Dec 2006 19:40:08 +0530 Received: from localhost (anithab@localhost) by sankhya.com (8.12.8/8.12.5/Submit) with ESMTP id kB7EA3Vs011564; Thu, 7 Dec 2006 19:40:08 +0530 Date: Thu, 07 Dec 2006 14:47:00 -0000 From: Anitha Boyapati To: Daniel Jacobowitz cc: gdb@sourceware.org Subject: Re: break points for shared libs In-Reply-To: <20061207143638.GA12776@nevyn.them.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/msg00059.txt.bz2 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". > > -- Regards, Anitha B, Sankhya Technologies Private Limited.