www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/12/01:06:46

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199607120457.AA203577464@relay1.geis.com>
Date: Fri, 12 Jul 96 04:18:00 UTC 0000
To: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: What if I run out of store

Reply to message 0298318    from ELIZ AT IS DOT ELTA. on 07/11/96  8:30AM


>> 3)  What about running the program under a debugger like gdb, which has
>>     its own runtime stack?
>
>The debuggee inherits the maximum stack of the debugger, yes (see the FAQ,
>section 15.9), unless you debug a stubbed .exe file (currently only
>possible with fsdb), in which case the stack size is still determined by
>the debuggee.

But in the former case, does the debuggee also inherit the debugger's
_stklen?  What I am trying to ask is:  Is _stklen always, universally, 100%
guaranteed to contain the actual size of the runtime stack in every v2
program?  If not, then it can't be reliably used to determine how much
stack is left.

John

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019