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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -