From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7605 invoked by alias); 8 Jan 2008 20:25:30 -0000 Received: (qmail 7593 invoked by uid 22791); 8 Jan 2008 20:25:29 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (213.8.233.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 08 Jan 2008 20:25:10 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-239-211.inter.net.il [84.228.239.211]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id JVU38507 (AUTH halo1); Tue, 8 Jan 2008 22:24:32 +0200 (IST) Date: Tue, 08 Jan 2008 20:25:00 -0000 Message-Id: From: Eli Zaretskii To: Joel Brobecker CC: gdb-patches@sourceware.org In-reply-to: <20080108055714.GB11831@adacore.com> (message from Joel Brobecker on Mon, 7 Jan 2008 21:57:14 -0800) Subject: Re: [RFA/DWARF] Set TYPE_FLAG_STUB for enum DIEs that are declarations only Reply-to: Eli Zaretskii References: <20080103153952.GC582@adacore.com> <20080103154055.GD582@adacore.com> <20080105150514.GF5975@adacore.com> <20080105153709.GH5975@adacore.com> <20080108055714.GB11831@adacore.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00157.txt.bz2 > Date: Mon, 7 Jan 2008 21:57:14 -0800 > From: Joel Brobecker > Cc: gdb-patches@sourceware.org > > > The preample was an introduction to an part of the Ada language, not > > a description of a problem. The "stub" DIE is a routine concept, > > that we see all the time with C opaque types. In fact, any type > > can be incomplete. > > > > But rather than arguing this ad vitam aeternam, here's a suggestion: > > First of all, I have to apologize for writing this way to you. I never received that, so no harm done. > Do you still think a comment should be added? If yes, is the comment > I suggested a step in the right direction? > > > /* Enumeration DIEs descriptions can be imcomplete. In Ada, any > > type can be declared as private in the package spec, and then > > defined only inside the package body. Such types are known as > > Taft Amendment Types. When another package uses such a type, > > an incomplete DIE may be generated by the compiler. */ Yes, thanks. All I wanted was some kind of reference to Ada and private type declaration. Armed with these clues, an intelligent reader will find out the rest.