-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack management: tcb->adj_stack_size should be without tls overhead #1631
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since there are external tools (e.g. debugger with task/stack awareness) that use tcb->adj_stack_size for stack overflow checking by means of stack coloration, they continously report stack overflows because they interpret tls as used stack.
Also from a logical point of view: stack_size should be stack size.
#1562 fixes this for arm architecture. This should be fixed for other architectures as well.
The text was updated successfully, but these errors were encountered: