5 ms·
Errm, the email at https://lists.kernelnewbies.org/pipermail/kernelnewbies/2016-August/016692.html https://lists.kernelnewbies.org/pipermail/kernelnewbies/2016.
by makomk 9y ago
Errm, the email at https://lists.kernelnewbies.org/pipermail/kernelnewbies/2016-August/016692.html https://lists.kernelnewbies.org/pipermail/kernelnewbies/2016... seems to be warning him against using an unusual set of custom compiler optimisation options that none of the kernel developers have ever tested with rather than against using a debugger full stop.
- alambert 9y agoThe beginner wants to disable optimizations, so he can better understand the kernel behavior by stepping through it in a debugger; he's told this isn't possible. Compare this with the availability of checked builds of Windows components, which support debugging by disabling optimizations: https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/checked-and-free-build-differences https://docs.microsoft.com/en-us/windows-hardware/drivers/de...
- vbitz 9y agoChecked builds are no longer distributed. Source: https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/65e77ce8-2d3f-4266-bba1-0bf2e70a6d86/wdk-1703-15063-does-not-include-a-debug-directory-with-checked-builds-of-ntoskrnl-and-hal?forum=wdk&prof=required https://social.msdn.microsoft.com/Forums/windowsdesktop/en-U...
- yuhong 9y agoI think checked builds did not disable optimizations, though it did include useful stuff.