This is the mail archive of the
mailing list for the GDB project.
shared library debugging issue - please help
- From: "Pobereznicenco Stefan" <pobere at gmail dot com>
- To: gdb at sourceware dot org
- Date: Fri, 15 Jun 2007 12:03:41 +0300
- Subject: shared library debugging issue - please help
I'm trying to debug a shared library.
I set a breakpoint like this:
(gdb) break LoginSM.cpp:153
Breakpoint 7 at 0x2cf652f: file LoginSM.cpp, line 153.
(I see that the breakpoint was set correctly!!!!!)
This file (LoginSM.cpp) is part of the shared library.
But, when the breakpoint is hit, gdb displays this:
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 ... :(
Well, if I set a breakpoint in another file, the result is the same:
the debugger stops at line 93 from 'new' file ....
Could anyone help me?