From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3585 invoked by alias); 15 Jul 2004 06:42:50 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 3567 invoked from network); 15 Jul 2004 06:42:50 -0000 Received: from unknown (HELO eri.interia.pl) (217.74.65.138) by sourceware.org with SMTP; 15 Jul 2004 06:42:50 -0000 Received: from poczta.interia.pl (naos.interia.pl [217.74.65.50]) by eri.interia.pl (Postfix) with ESMTP id 93749263CB for ; Thu, 15 Jul 2004 08:42:42 +0200 (CEST) Received: from 127.0.0.1 (naos.interia.pl [127.0.0.1]) by system.wewnetrzny9 (poczta.interia.pl) with SMTP id A2C3D146CC6 for ; Thu, 15 Jul 2004 08:42:42 +0200 (CEST) Received: by poczta.interia.pl (poczta.interia.pl, from userid 502) id 89583146CC1; Thu, 15 Jul 2004 08:42:42 +0200 (CEST) Received: from poczta.fm (dial-3645.zgora.dialog.net.pl [81.168.235.61]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by poczta.fm (poczta.fm) with ESMTP id B08F7AF58E for ; Thu, 15 Jul 2004 08:42:41 +0200 (CEST) Message-ID: <40F6275A.3070805@poczta.fm> Date: Thu, 15 Jul 2004 10:30:00 -0000 From: Roland Zerek User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; PL; rv:1.6b) Gecko/20031205 Thunderbird/0.4 MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: How to setup a breakpoint on constructor Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-07/txt/msg00162.txt.bz2 Hi, Is there anything different in the constructor in comparision to normal function since I cannot break the program in there? I am able to set the breakpoint but it never stops there. I am working with mingw (gcc-3.4.0) and gdb-6.0 (from mingw page). I would appreciate any hints. TIA. -- Roland r o l a n d z (at) poczta fm