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

Kernel/riscv64: Handle breakpoint traps #24094

Merged
merged 1 commit into from
May 23, 2024

Conversation

spholz
Copy link
Contributor

@spholz spholz commented Apr 24, 2024

This means that userspace breakpoint traps no longer panic the kernel. This also causes us to no longer panic on failed assertions in userspace when using gcc, as gcc compiles __builtin_trap to breakpoint instructions on RISC-V.

@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label Apr 24, 2024
This means that userspace breakpoint traps no longer panic the kernel.
This also causes us to no longer panic on failed assertions in userspace
when using gcc, as gcc compiles __builtin_trap to breakpoint
instructions on RISC-V.
@ADKaster ADKaster merged commit de02a26 into SerenityOS:master May 23, 2024
11 of 13 checks passed
@github-actions github-actions bot removed the 👀 pr-needs-review PR needs review from a maintainer or community member label May 23, 2024
@spholz spholz deleted the riscv-handle-ebreak branch May 23, 2024 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants