Mark H Weaver <[email protected]> writes:
> I think we need two different stack reserves: one that's used normally,
> and another smaller one that's used within the debugger after a stack
> overflow. It should be possible to do some minor debugging after a
> stack overflow: enough to see where the overflow happened and maybe look
> at some stack frames to investigate why it happened. The normal stack
> reserve should be reinstated after leaving the debugger.
Another option is to run the debugger in a freshly allocated stack. I
think this is probably the best solution, but I don't know how hard it
would be to do. I know very little about our debugger implementation.
Mark