From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26536 invoked by alias); 29 Jul 2009 21:56:28 -0000 Received: (qmail 26526 invoked by uid 22791); 29 Jul 2009 21:56:27 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 29 Jul 2009 21:56:15 +0000 Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 498301C156B5; Wed, 29 Jul 2009 23:56:10 +0200 (CEST) Received: from localhost (dynscan2.mnet-online.de [192.168.1.215]) by mail.m-online.net (Postfix) with ESMTP id 719DA90162; Wed, 29 Jul 2009 23:56:10 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.1.215]) (amavisd-new, port 10024) with ESMTP id 4Oos4Gwyfb2Q; Wed, 29 Jul 2009 23:56:09 +0200 (CEST) Received: from igel.home (DSL01.83.171.189.33.ip-pool.NEFkom.net [83.171.189.33]) by mail.mnet-online.de (Postfix) with ESMTP; Wed, 29 Jul 2009 23:56:09 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id BEFED10DA51; Wed, 29 Jul 2009 23:56:08 +0200 (CEST) From: Andreas Schwab To: Michael Snyder Cc: "tromey\@redhat.com" , Vladimir Prus , "gdb\@sources.redhat.com" Subject: Re: Private data members References: <200907291245.32359.vladimir@codesourcery.com> <4A70854E.9080106@vmware.com> X-Yow: I always liked FLAG DAY!! Date: Wed, 29 Jul 2009 21:56:00 -0000 In-Reply-To: <4A70854E.9080106@vmware.com> (Michael Snyder's message of "Wed, 29 Jul 2009 10:22:22 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.96 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00234.txt.bz2 Michael Snyder writes: > Define struct breakpoint in breakpoint.h, put any public members > in there, and then include a member "struct breakpoint_private" > that is only a forward declaration. That only works if this member is a pointer. You cannot have struct members with incomplete types. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."