This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: shared library debugging issue - please help


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]