Mail Archives: djgpp/1996/07/12/01:06:46
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 -