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

cpu/vc,idt: drop debug support in stage2 #157

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

p4zuu
Copy link
Collaborator

@p4zuu p4zuu commented Nov 22, 2023

The #VC handler added in stage 2 breaks the gdb-enabled builds due to a too big stage 2 binary.

Breakpoints handling in stage 2 is breaking, and useless so we can drop the handler function calls so that gdbstub code is not included in stage 2 binary.

The #VC handler added in stage 2 breaks the gdb-enabled builds due to
a too big stage 2 binary.

Breakpoints handling in stage 2 is breaking, and useless so we can
drop the handler function calls so that gdbstub code is not included
in stage 2 binary.

Signed-off-by: Thomas Leroy <thomas.leroy@suse.com>
Copy link
Collaborator

@roy-hopkins roy-hopkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - I tested the changes in my environment and this fixed the issue, still allowing the gdbstub to work where expected.

@joergroedel joergroedel merged commit bb184f7 into coconut-svsm:main Nov 22, 2023
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.

3 participants