Debugging Linux Systems Using GDB and Qemu: Khem Raj
Debugging Linux Systems Using GDB and Qemu: Khem Raj
Khem Raj
Agenda
Introduction
Compiling and debugging Linux kernel using
QEMU
Creating image file for root file system
Compiling and debugging uclibc dynamic linker
using QEMU
Compiling and debugging u-boot using QEMU
Some more on gdb
Q&A
What is QEMU ?
Processor emulator
Emulates ARM, x86, powerpc, mips, SH …
Has a built-in GDB stub
Getting QEMU
http://bellard.org/qemu/
Your favourite distribution might have already built it
for you
Enable GDB stub
start address 0x00000ed0
Happy Debugging