From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9730 invoked by alias); 15 Jun 2007 14:56:48 -0000 Received: (qmail 9721 invoked by uid 22791); 15 Jun 2007 14:56:47 -0000 X-Spam-Check-By: sourceware.org Received: from nz-out-0506.google.com (HELO nz-out-0506.google.com) (64.233.162.239) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 15 Jun 2007 14:56:45 +0000 Received: by nz-out-0506.google.com with SMTP id s1so812966nze for ; Fri, 15 Jun 2007 07:56:43 -0700 (PDT) Received: by 10.114.121.1 with SMTP id t1mr3146919wac.1181919403187; Fri, 15 Jun 2007 07:56:43 -0700 (PDT) Received: by 10.114.88.19 with HTTP; Fri, 15 Jun 2007 07:56:43 -0700 (PDT) Message-ID: <1b19bbe60706150756k66f4313fg346dbd0ca6356fc@mail.gmail.com> Date: Fri, 15 Jun 2007 14:56:00 -0000 From: "Pobereznicenco Stefan" To: "Pobereznicenco Stefan" , gdb@sourceware.org Subject: Re: shared library debugging issue - please help In-Reply-To: <20070615123417.GA3110@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1b19bbe60706150203m33e1cf5awc975f39fa6b54342@mail.gmail.com> <20070615123417.GA3110@caradoc.them.org> 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/msg00127.txt.bz2 On 6/15/07, Daniel Jacobowitz wrote: > 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 > Thanks. Tried that, and seems to have the same problem. I recompiled all the code the code with -O0 and -ggdb3. Still nothing. Anyway, tried also to step a few times in my shared library: the debugger points to the same point: file "new" line 93!!! Line dows not change at all. Even more, line 93 contains a comment. Any other idea? Thanks, Stefan.