Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* shared library debugging issue - please help
@ 2007-06-15  9:04 Pobereznicenco Stefan
  2007-06-15  9:37 ` Fwd: " Pobereznicenco Stefan
  2007-06-15 12:34 ` Daniel Jacobowitz
  0 siblings, 2 replies; 4+ messages in thread
From: Pobereznicenco Stefan @ 2007-06-15  9:04 UTC (permalink / raw)
  To: gdb

Hey,

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
/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 ... :(

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?

Thanks,
Stefan


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-06-15 14:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-15  9:04 shared library debugging issue - please help Pobereznicenco Stefan
2007-06-15  9:37 ` Fwd: " Pobereznicenco Stefan
2007-06-15 12:34 ` Daniel Jacobowitz
2007-06-15 14:56   ` Pobereznicenco Stefan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox