From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22970 invoked by alias); 10 Feb 2010 22:32:10 -0000 Received: (qmail 22950 invoked by uid 48); 10 Feb 2010 22:32:09 -0000 Date: Wed, 10 Feb 2010 22:32:00 -0000 Message-ID: <20100210223209.22949.qmail@sourceware.org> From: "tromey at redhat dot com" To: gdb-prs@sourceware.org In-Reply-To: <20060107214801.9170.thor@math.tu-berlin.de> References: <20060107214801.9170.thor@math.tu-berlin.de> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug c++/9170] Unable to locate constructors with forward-declared classes X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2010-q1/txt/msg00247.txt.bz2 ------- Additional Comments From tromey at redhat dot com 2010-02-10 22:32 ------- I tried to reproduce this but couldn't. I tried compiling two files like so: == main.cc class K; extern K *getk(); int main () { K* k = getk(); return 0; } == k.ccclass K { public: K (); int z; }; K::K () { z = 25; } K *getk() { return new K; } I figured this was most likely to get the forward declaration read in first. On trunk I get weird behavior, e.g., "break K::K" does nothing at all. This doesn't sound like your bug, though. Maybe the crash has been fixed. It would be most helpful if you had a simple way to reproduce this. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=9170 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.