This is the mail archive of the
mailing list for the GDB project.
Re: shared library debugging issue - please help
On 6/15/07, Daniel Jacobowitz <email@example.com> wrote:
On Fri, Jun 15, 2007 at 12:03:41PM +0300, Pobereznicenco Stefan wrote:
> Breakpoint 1, 0xAADDRESS in LoginSM::Next () at
> 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.
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?