This is an old revision of the document!
====== Stefan Hajnoczi: GDB Remote Debugging ====== ===== Week 5 ===== **Milestones:** * [b44] Tested and clean for mainline review. * [bzImage] Fix Lilo stack clobber in prefix. ==== Mon Jun 23 ==== **Lilo bzImage problem identified**. Lilo cannot boot ''gpxe.lkrn'' images. This happens because Lilo places gPXE's stack into the BIOS free memory area. gPXE uses the free memory area when decompressing and loading itself into memory. This means that the stack is overwritten during decompression and the machine triple-faults. I tested this by hardcoding the stack pointer to the value GRUB assigns; this results in a clean boot. I am discussing this with the mentors and hopefully we can choose a proper solution that will get ''gpxe.lkrn'' booting under Lilo. **I am continuing work on the b44 driver**. RX and TX are working but there is lots of cleanup and error handling left. Next steps: * [b44] Handle errors. * [b44] Handle link status changes. * [b44] Cleanup & testing. * [bzImage] Implement a fix for the Lilo stack clobbering problem in prefix. * [GDB] Update [[:dev:gdbstub|GDB stub page]] and screencast when UDP code is merged into mainline. See [[http://grub.enbug.org/DebuggingWithGDB|GRUB GDB wiki page]] for inspiration. * [GDB] Real-mode remote debugging.