[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
More C++ Exceptions Issues - Problem Solved
- Date: Sun, 2 May 1999 09:09:55 -0500
- From: rdasilva at connecttel.com (Rosimildo DaSilva)
- Subject: More C++ Exceptions Issues - Problem Solved
>So in principle the RTEMS program should be shut down with a
>reasonable amount of grace.
I have tried abort() and RTEMS shutdowns normally.
The problem with exceptions not caught is that the stack overflows( Init
By default, RTEMS starts the init task( pthread task ) with a stack of 2K
PC386 bsp. This is not enough when you have complex chains of try/catch
EGCS seems to require around 2.5K minimal of stack to handle
exceptions. Can anyone confirm this ?
I have got this number from my debug session using GDB. I could be wrong
I have changed the stack size of the initial task to 8K and everything
I had to re-compile RTEMS to get the stack size of the Init Task ( pthread )
Is there a way to change the size of stack of an Init Task ( pthread )
re-compiling RTEMS ?