c - Unable to debug lInux on gdb -


i trying debug linux using gdb, compiled kernel "compile kernel debug info". once kernel compiled trying give gdb file vmlinux (running above command gives me below error)

 gnu gdb (ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1   reading symbols file...(no debugging symbols found)...done. "/home/linux/vmlinux" not core dump: file format not recognized 

even setting debug con-figs giving me "no debugging symbols found"

kernel debugging whole different ballgame debugging user process , not simple firing gdb. need support of jtag. qemu allows virtualize machine , therefore use virtual jtag.

for simple stuff find printk easier.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -