Skip to content
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

debug: arc: expose thread relinquish cause #61106

Merged

Conversation

bdmendes
Copy link
Contributor

@bdmendes bdmendes commented Aug 3, 2023

When a thread is preempted on ARC, caller-saved registers are saved on the stack automatically (RIRQ) or manually by the kernel ISR (FIRQ). Exposing the thread's relinquish cause hints the debugger that it can read more or less register values.

When a thread is preempted on ARC, caller-saved registers
are saved on the stack automatically (RIRQ) or manually
by the kernel ISR (FIRQ).
Exposing the thread's relinquish cause hints the debugger
that it can read more or less register values.

Signed-off-by: Bruno Mendes <[email protected]>
@bdmendes bdmendes marked this pull request as ready for review August 4, 2023 11:38
@bdmendes bdmendes requested a review from nashif as a code owner August 4, 2023 11:38
@nashif nashif assigned ruuddw and unassigned nashif Aug 9, 2023
@fabiobaltieri fabiobaltieri merged commit 2510e19 into zephyrproject-rtos:main Aug 9, 2023
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants