linux kernel debug in qemu with gdb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
     i am a newbie, i just want debug linux kernel(x86_64), and i make
configure with x86_64_deconfig, then configure with debuginfo by make
menuconfig.
 this is my step below:
1.qemu-system-x86_64 -s -S -kernel ../staging/arch/x86_64/boot/bzImage -m 1024
2.gdb --tui vmlinux(in staging)
3.target remote localhost:1234
4.b start_kernel
5.c
but, when i input this 'c' , the system will run until kernel panic,
not stop in start_kernel, could you please give me some idea?

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs



[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux