From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cdaa3abe008a8f57 X-Google-Attributes: gid103376,public From: dewar@gnat.com Subject: Re: Ada Type Information Date: 1999/03/05 Message-ID: <7bpohc$j2t$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 451715441 References: <36E03843.3AD74457@lmco.com> X-Http-Proxy: 1.0 x10.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri Mar 05 23:15:00 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-03-05T00:00:00+00:00 List-Id: In article <36E03843.3AD74457@lmco.com>, Sam Carnicelli wrote: > I've been lurking around this newsgroup for a couple of > weeks and I thought some of the people here might be able > to offer some valuable advice. Since you mention the -gnatR switch in the latest 3.12 GNAT technology, let me say exactly what this does. For all named array and record types in the program it gives the type name, and the representation characteristics. I must say I am a bit puzzled as to why this does not give you all the information you want. Here is some sample output from -gnatR: Source ------ procedure q is type r is record a : integer := 0; s : string (1 .. 5); t : integer; end record; begin null; end q; Output from -gnatR ------------------ Representation information for unit q -------------------------------------- for r'Object_Size use 128; for r use record a at 0 range 0 .. 31; s at 4 range 0 .. 39; t at 12 range 0 .. 31; end record; Robert Dewar Ada Core Technologies -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own