comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Stumped: Seg Fault with System.Secondary_Stack.SS_Mark()
Date: Thu, 06 Sep 2012 21:57:39 +0200
Date: 2012-09-06T21:57:39+02:00	[thread overview]
Message-ID: <87fw6u2abw.fsf@ludovic-brenta.org> (raw)
In-Reply-To: 6dfcb108-01de-42e4-962a-87a9ac91741c@googlegroups.com

awdorrin <awdorrin@gmail.com> writes:
> My assembly knowledge is more than a little rusty... :)
>
> Anyone have any suggestions on what I can look at?

Try compiling your program with -gnatDG and look at the file
rde_b.ada.dg, this is an intermediate representation of your program in
a language looking like Ada.  This might at least tell you why this
function uses the secondary stack; I see nothing in its spec that
requires the secondary stack (i.e. returning objects of unconstrained
type or declaring controlled objects on the stack).

see
http://gcc.gnu.org/onlinedocs/gcc-4.6.3/gnat_ugn_unw/Debugging-Control.html

Sorry I cannot help more, HTH anyway.

-- 
Ludovic Brenta.



  reply	other threads:[~2012-09-14 17:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-06 19:34 Stumped: Seg Fault with System.Secondary_Stack.SS_Mark() awdorrin
2012-09-06 19:57 ` Ludovic Brenta [this message]
2012-09-06 20:53   ` awdorrin
2012-09-06 21:18     ` Ludovic Brenta
2012-09-06 22:13       ` awdorrin
2012-09-07 14:38         ` awdorrin
2012-09-07 14:55           ` Ludovic Brenta
2012-09-07 15:35           ` Simon Wright
2012-09-07 16:18             ` awdorrin
2012-09-07 16:31               ` awdorrin
2012-09-07 17:07                 ` Simon Wright
2012-09-07 17:50                   ` awdorrin
2012-09-08 13:23                     ` francois_fabien
2012-09-10 13:50                       ` awdorrin
replies disabled

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