This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Gdb didnot step into the break point in class constructor inRH 8.0
- From: Serge Fukanchik <fuxx at mail dot ru>
- To: kaiduan xie <kaiduanx at yahoo dot ca>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 17 Dec 2004 15:07:22 +0300
- Subject: Re: Gdb didnot step into the break point in class constructor inRH 8.0
- References: <20041217080016.4196.qmail@web61207.mail.yahoo.com>
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