2 ms·
Thank you for a reminder of one of my favourite debugging stories. I was working on an x86 bootloader and something was going wrong when making the transition i
by tonyarkles 6y ago
Thank you for a reminder of one of my favourite debugging stories. I was working on an x86 bootloader and something was going wrong when making the transition into 32-bit protected mode. Ultimately I found the problem by... adding printfs inside qemu and recompiling, so it would output the CPU state registers for every instruction it was executing (luckily not too many to run before encountering the bug).