comp.lang.ada
 help / color / mirror / Atom feed
From: "Sergey Koshcheyev" <serko84@hotmail.com>
Subject: Re: Howto debug seg-faulting Ada 95 code?
Date: Tue, 3 Sep 2002 10:51:57 +0200
Date: 2002-09-03T10:51:57+02:00	[thread overview]
Message-ID: <al1t7e$1idk$1@ns.felk.cvut.cz> (raw)
In-Reply-To: FhMc9.91102$kp.733909@rwcrnsc52.ops.asp.att.net

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


I would say that x86 compilers place library-level data in data sections,
initialized or unininitialized. This is the best place for them, and data
sections aren't stack nor heap, they're something else :-) I don't know
about other architectures, but I suspect the placement of global data is
similar there.

Sergey.






  parent reply	other threads:[~2002-09-03  8:51 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
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 [this message]
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