How to use qemu to simulate a Full OS and debug with gdb?
by xujunjian from LinuxQuestions.org on (#6DBSA)
Hello guys,
I am new to gdb and debug.I'd like to ask you sevral questions about debug linux .
I want to debug drivers like blueZ on linux.I build a costum linux kernel myself and get a vmlinux file.Then,I build a busybox.I can debug by using qemu.But only for the kernel.There is no any drivers and softwares.And I also try to use qemu to run ubuntu,but I cannot get the symbol file.Is there any ideas?
I am new to gdb and debug.I'd like to ask you sevral questions about debug linux .
I want to debug drivers like blueZ on linux.I build a costum linux kernel myself and get a vmlinux file.Then,I build a busybox.I can debug by using qemu.But only for the kernel.There is no any drivers and softwares.And I also try to use qemu to run ubuntu,but I cannot get the symbol file.Is there any ideas?