This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: Gdb didnot step into the break point in class constructor inRH 8.0


Try to compile with -O0 and -ggdb3 options:
-----
/usr/bin/g++ -o test3 -O0 -ggdb3 test3.cpp
-----
it is possible compiler optimized out your
constructor.
---
Serge



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