comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey Creem" <jeff@thecreems.com>
Subject: Re: Howto debug seg-faulting Ada 95 code?
Date: Mon, 02 Sep 2002 22:40:49 GMT
Date: 2002-09-02T22:40:49+00:00	[thread overview]
Message-ID: <RNRc9.336566$UU1.57839@sccrnsc03> (raw)
In-Reply-To: 0DMc9.5002$YN.1223639060@newssvr30.news.prodigy.com


> "Jeffrey Creem" <jeff@thecreems.com> wrote in message
> news:FhMc9.91102$kp.733909@rwcrnsc52.ops.asp.att.net...
> <snip>
> > Either use new or declare the variable at the library level (in a
> package)
> > to make it go on the heap.
>
> What has a declaration at the library level have to do with the heap?
>
>

Techically nothing..I don't believe I have ever read anything in the LRM
that
says for sure that if you declare a variable in a package it goes on the
heap but
if you declare it in a procedure (including the mainline) it goes on the
stack. (See, now
why did Robert have to go and leave...Where is Tucker Taft when you need
him)

Having said that, every compiler I have used does something like this.  It
also tends to
make intuitive sense.







  reply	other threads:[~2002-09-02 22:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-31  7:58 Howto debug seg-faulting Ada 95 code? Karl Ran
2002-08-31  8:14 ` Florian Weimer
2002-09-02 15:05   ` Karl Ran
2002-09-02 16:25     ` Jeffrey Creem
2002-09-02 16:47       ` Pat Rogers
2002-09-02 22:40         ` Jeffrey Creem [this message]
2002-09-02 23:25           ` Pat Rogers
2002-09-03 11:20             ` Jeffrey Creem
2002-09-04 14:57               ` Pat Rogers
2002-09-03  8:51       ` Sergey Koshcheyev
2002-09-03 11:42         ` Samuel Tardieu
2002-09-07 18:50           ` Steven Deller
2002-09-02 21:35     ` Florian Weimer
2002-09-03  9:11       ` Karl Ran
2002-09-03  2:27 ` David C. Hoos, Sr.
2002-09-03  9:38   ` Karl Ran
2002-09-03 12:15     ` David C. Hoos, Sr.
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox