-
Notifications
You must be signed in to change notification settings - Fork 215
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
Strip debug symbols from kernel #59
Conversation
Could you please add an option to disable this. Gdb attached to qemu can load debuginfo too (havent tested, but people say it works) |
If done properly, this shouldn't affect debugging with GDB. As I understand it, there'd be two copies of the binary - one with debug info and one without. The bootloader would simply load the one without debug info, but you could just point GDB to the one with debug info and it'd work properly. @bjorn3 |
Thanks @64 I thought the original was stripped in place. |
Yeah, the original binary is not modified. |
bors r+ |
Merge conflict (retrying...) |
59: Strip debug symbols from kernel r=phil-opp a=phil-opp This PR strips debug symbols from the kernel binary to speed up loading. This reduces the boot image size from 5MB to 270KB for blog_os. (The code already works, I just want to clean it up a bit and improve the naming of the string/path variables before merging.) cc @64 Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
Build failed
|
Failed presumably because of https://status.chocolatey.org/issues/2019-06-24-chocolatey-org-not-available-from-aws/ |
bors r+ |
59: Strip debug symbols from kernel r=phil-opp a=phil-opp This PR strips debug symbols from the kernel binary to speed up loading. This reduces the boot image size from 5MB to 270KB for blog_os. (The code already works, I just want to clean it up a bit and improve the naming of the string/path variables before merging.) cc @64 Co-authored-by: Philipp Oppermann <dev@phil-opp.com>
Build succeeded
|
Published as version 0.6.1 |
This PR strips debug symbols from the kernel binary to speed up loading. This reduces the boot image size from 5MB to 270KB for blog_os.
(The code already works, I just want to clean it up a bit and improve the naming of the string/path variables before merging.)
cc @64