From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3916 invoked by alias); 15 Jun 2007 12:34:10 -0000 Received: (qmail 3884 invoked by uid 22791); 15 Jun 2007 12:34:08 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 15 Jun 2007 12:34:06 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 15FC4982F2; Fri, 15 Jun 2007 12:34:04 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id C9146982F1; Fri, 15 Jun 2007 12:34:03 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1HzB0M-00012g-0W; Fri, 15 Jun 2007 08:34:18 -0400 Date: Fri, 15 Jun 2007 12:34:00 -0000 From: Daniel Jacobowitz To: Pobereznicenco Stefan Cc: gdb@sourceware.org Subject: Re: shared library debugging issue - please help Message-ID: <20070615123417.GA3110@caradoc.them.org> Mail-Followup-To: Pobereznicenco Stefan , gdb@sourceware.org References: <1b19bbe60706150203m33e1cf5awc975f39fa6b54342@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1b19bbe60706150203m33e1cf5awc975f39fa6b54342@mail.gmail.com> User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-06/txt/msg00121.txt.bz2 On Fri, Jun 15, 2007 at 12:03:41PM +0300, Pobereznicenco Stefan wrote: > > Breakpoint 1, 0xAADDRESS in LoginSM::Next () at > /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/new:93 > > LoginSM::Next() is the function inside it I set the breakpoint, ... > but why gdb tells me about 'new' file? I didn't set a breakpoint in > the header file of operator 'new' ... > > Because of this, I cannot step into my shared library ... :( Just single step a bit from there, or compile without optimization. GDB does not support inlined functions yet; a call to new has been inlined into your code. -- Daniel Jacobowitz CodeSourcery