what 's up

i have spent such a long time to find a possible solution to debug with linux in eclipse + qemu , but without result .

i  find some many tools with gcc :

arm-linux-gcc

arm-none-linux-gnueabi-gcc

arm-xilinx-linux-gnueabi-gcc

i find some many possible ways to start with qemu :

qemu-system-i386
qemu-system-arm
qemu-system-x86_64
qemu-system-arm -s -S 
qemu-system-x86_64 -s -S -kernel bzImage
qemu-system-x86_64 -s -S -kernel bzImage -append "root=/dev/sda" -hda busybox.img
-monitor stdio
-initrd /boot/initrd.img-3.13.0-38-generic
-M versatilepb -M vexpress-a9
-nographic
-serial stdio
make i386_defconfig
make x86_64_defconfig
make xilinx_zynq_defconfig
gdb vmlinux
target remote localhost:1234
Build aubomatically
Enable indexer
Debugger configurations
Using GDB(DSF) Manual Remote Debugging Launcher
Remote 'g' packet reply is too long
Console > Display selected console
set architecture i386:x86-64:intel
ncurses
compile the kernel with debug info
compile the kernel with frame pointer  
Program "g++" not found in PATH  
BUILD KERNEL : wiki.eclipse.org/HowTo_use_the_CDT_to_navigate_Linux_kernel_source
No source available for "start_kernel() at 0xffffffff818ee7e3"






we can find out many ways to make a ramdisk or root file system

原文地址:https://www.cnblogs.com/dragen/p/4069381.html