From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15460 invoked by alias); 17 Dec 2004 12:05:22 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 15440 invoked from network); 17 Dec 2004 12:05:16 -0000 Received: from unknown (HELO mx2.mail.ru) (194.67.23.122) by sourceware.org with SMTP; 17 Dec 2004 12:05:16 -0000 Received: from [194.67.62.142] (port=51639 helo=mail.ru) by mx2.mail.ru with esmtp id 1CfGrD-000AfJ-00; Fri, 17 Dec 2004 15:05:15 +0300 Message-ID: <41C2CBFA.1010603@mail.ru> Date: Fri, 17 Dec 2004 12:05:00 -0000 From: Serge Fukanchik User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.5) Gecko/20031007 MIME-Version: 1.0 To: kaiduan xie CC: gcc-help@gcc.gnu.org Subject: Re: Gdb didnot step into the break point in class constructor in RH 8.0 References: <20041217080016.4196.qmail@web61207.mail.yahoo.com> In-Reply-To: <20041217080016.4196.qmail@web61207.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected X-SW-Source: 2004-12/txt/msg00160.txt.bz2 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