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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: put of access type References: <3hag6h.5fu.ln@hunter.axlog.fr> From: Stephen Leake Date: Thu, 20 Aug 2009 04:06:37 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) Cancel-Lock: sha1:W/teJDnl2b2QXEcCTtlYlEIYmiA= MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 187f64a8d03fae197caa700300 Xref: g2news2.google.com comp.lang.ada:7901 Date: 2009-08-20T04:06:37-04:00 List-Id: Jean-Pierre Rosen writes: > Rob Solomon a �crit : >> I thought someone would question why I want this. As I said in my 1st >> message, I'm trying to learn the language and I would like to see what >> happens when I define pointers. I mean access types. >> >> The only way I know to see the results of my playing is to output >> them. >> > > As others said, you won't get much from that, but if it's really what > you want, just use your favorite debugger and inspect memory (gdb under > GPS is quite easy to use). > > But remember: in Ada, an access value is /not/, repeat *not*, an address > ;-). So you will be looking at something which is 100% compiler dependent. For GNAT, it is an address. It may not be quite the address you are expecting, but that's part of the learning process. -- -- Stephe