From: dewar@gnat.com (Robert Dewar)
Subject: Re: reasons for segmentation faults on linux
Date: 28 Nov 2001 19:39:01 -0800
Date: 2001-11-29T03:39:01+00:00 [thread overview]
Message-ID: <5ee5b646.0111281939.23c5280c@posting.google.com> (raw)
In-Reply-To: 9u3okd$9ic2@news.cis.okstate.edu
David Starner <dvdeug@x8b4e53cd.dhcp.okstate.edu> wrote in message news:<9u3okd$9ic2@news.cis.okstate.edu>...
> If I remember the GNAT RM/UG right, trapping stack
> overflow is
> infeasable on Linux system, so by default it doesn't
> attempt it. There
> are switchs you can add to make an attempt at it.
This is misleading. Stack checking is off in gcc by default
(and gnat always follows general gcc decisions on defaults
for gcc switches, since it would get very confusing if the
defaults were language dependent. If you turn on the switch, you get
stack checking, nothing "infeasible"
about it.
next prev parent reply other threads:[~2001-11-29 3:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-28 12:03 reasons for segmentation faults on linux Tony
2001-11-28 12:49 ` Marc A. Criley
2001-11-28 15:59 ` Preben Randhol
2001-11-28 18:04 ` Mark Johnson
2001-11-28 22:31 ` David Starner
2001-11-29 3:39 ` Robert Dewar [this message]
2001-11-29 18:42 ` David Starner
2001-11-29 3:36 ` Robert Dewar
2001-11-29 10:36 ` Preben Randhol
2001-11-29 11:01 ` Preben Randhol
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox