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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!a3g2000prm.googlegroups.com!not-for-mail From: Andy Newsgroups: comp.lang.ada Subject: Re: Stackusage at runtime Date: Tue, 4 Nov 2008 04:56:22 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <4910359e$0$31347$9b4e6d93@newsspool4.arcor-online.net> NNTP-Posting-Host: 195.65.112.42 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1225803382 12379 127.0.0.1 (4 Nov 2008 12:56:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 4 Nov 2008 12:56:22 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a3g2000prm.googlegroups.com; posting-host=195.65.112.42; posting-account=SIFiYwoAAAD0bsxzenBYdzLCI6U-_k98 User-Agent: G2/1.0 X-HTTP-Via: 1.1 WATSONTEMP2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:2563 Date: 2008-11-04T04:56:22-08:00 List-Id: On 4 Nov., 12:44, Georg Bauhaus wrote: > andi.vonto...@gmx.ch schrieb: > > > Hi. > > > Is it possible to figure out how much of the stack is used at a > > specific moment? > > -> Ada95 Crosscompiler to PPC > > (It is a little bit hard to optimize the stacksize ...) > > I'd guess that your debugger can stop the program at > that specific moment and tell you about the stack. The debugger is not really usable ... is there a possibility read the value in the code and to print out?