Re: qemu + gdb debugging...

2009-02-22 Thread Vesa Jääskeläinen
Oh... The usage information was left behind :) You might need to have most recent QEMU and GDB versions for most challenging bugs :)... 1. Copy grub.gdb and gmodule.pl to your build directory. 2. Create image for QEMU (grub2.iso in my case). 3. Launch QEMU with GDB stub: qemu -s -S -cdrom grub

qemu + gdb debugging...

2009-02-22 Thread Vesa Jääskeläinen
Hi All, I was debugging some problem lately and felt that I need to use debugger. As I like how JTAG debugging works I wanted to have similar feeling :). Obivious choice is to use QEMU. QEMU provides a GDB stub that can be used to debug code running on its virtual session. I also found out that V